Page not loading? Try clicking here.
Placeholder

#5933

Number Rectangle 4-3 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 4

Example #2

4
1 2 3 4 
2 4 6 8
3 6 9 12
4 8 12 16


Source

JUNGOL

You must sign in to write code.