Competitions

# PP2. Week 4: March 29 - April 4

# Half

Write a program that fills array **n** × **n** with the next way: secondary diagonal contains zeros, all cells above it contains twos and all cells below it contains ones.

#### Input

One integer **n** (**n** ≤ **20**).

#### Output

Print the array filled like described above.

Input example #1

3

Output example #1

220 201 011