eolymp
bolt
Try our new interface for solving problems

Half

Fill an array $n \times n$ in the next way: secondary diagonal contains zeros, all cells above it contains twos and all cells below it contains ones. \InputFile One positive integer $n~(n \le 20)$. \OutputFile Print the array filled like described above.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
220
201
011