Squares (4)

Write a program that prints nn squares n×nn \times 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 nn squares of size n×nn \times n, by filling them with 0, 1, …, 9, 0, etc. Separate two squares with an empty line.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:23:41.651Z

© Jutge.org, 2006–2026.
https://jutge.org