Write a program that prints n squares n × n. Draw each square independently, and start filling it with 0, 1, …, 9, 0, etc.
Input
Input consists of a natural number between 1 and 9.
Output
Print n squares of size n × n, by filling them with 0, 1, …, 9, 0, etc. Separate two squares with an empty line.
Input
3
Output
012 345 678 012 345 678 012 345 678
Input
4
Output
0123 4567 8901 2345 0123 4567 8901 2345 0123 4567 8901 2345 0123 4567 8901 2345