Page not loading? Try clicking here.
Placeholder

#5932

Number Rectangle 4-2 1s 64MB

Problems

After receiving the side length n of a square,
write a program that outputs a square in the following form.


Input

Receive the side length n of the square. (1 ≤ n ≤ 100)


Output

Print the output in the specified format.
Separate the numbers with spaces.


Example #1

2
1 2
2 1

Example #2

4
1 2 3 4
4 3 2 1
1 2 3 4
4 3 2 1


Source

JUNGOL

You must sign in to write code.