Problem A: 更新的矩阵

Problem A: 更新的矩阵

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 95  Solved: 65
[Status] [Submit] [Creator:]

Description

16*6的矩阵(表格),把矩阵二条对角线上的元素值加上10,然后输出这个新矩阵。

Input

5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5

Output

   15    5    5    5    5   15
    5   15    5    5   15    5
    5    5   15   15    5    5
    5    5   15   15    5    5
    5   15    5    5   15    5
   15    5    5    5    5   15

Sample Input Copy

5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5

Sample Output Copy

   15    5    5    5    5   15
    5   15    5    5   15    5
    5    5   15   15    5    5
    5    5   15   15    5    5
    5   15    5    5   15    5
   15    5    5    5    5   15