Олимпиадный тренинг

Задача 7113. Error


A natural number N is given (N<=15). Fill and display a square two-dimensional NxN array according to the following rule:
1 3 3 3 3
10 4 3 3 3
10 10 9 3 3
10 10 10 16 3
10 10 10 10 25

Each element of the array is separated from another by one space, each line of the array is displayed on a new line
Sample Input and Output
Test No. Input data Imprint
1 5
1 3 3 3 3
10 4 3 3 3
10 10 9 3 3
10 10 10 16 3
10 10 10 10 25