Squares (2)

Write a program that prints squares n×nn \times n. Draw each square independently, and start filling it with 0, 1, …, 9, 0, etc.

Input

Input consists of several natural numbers between 1 and 9.

Output

For every nn, print a square of size n×nn \times n, by filling it with 0, 1, …, 9, 0, etc. Separate two squares with an empty line.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:20:15.394Z

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