Matrix: sum of indexes#9893

Matrix: sum of indexes

1 second
128 megabytes
Medium

Let m_{i,j} be a two-dimensional array of size n \times n, where m_{i,j} = i + j. The array is -indexed, m_{1,1} is the top-left corner of the matrix. Print the array.

Input

One positive integer n~(n < 50).

Output

Print the two-dimensional array. Each number must be printed using exactly character positions.

Examples

Example 1

Loading
Loading