eolymp
bolt
Try our new interface for solving problems
Problems

Matrix: sum of indexes

Matrix: sum of indexes

Time limit 1 second
Memory limit 128 MiB

Let m[i][j] be a two dimensional array of size n * n. Let m[i][j] = i + j. Indexation starts from 1 (m[1][1] is a left upper corner of the matrix). Print the array.

Input data

One positive integer n (n < 50).

Output data

Print the two dimensional array. Each number must be printed in 2 positions.

Examples

Input example #1
6
Output example #1
 2  3  4  5  6  7 
 3  4  5  6  7  8 
 4  5  6  7  8  9 
 5  6  7  8  9 10 
 6  7  8  9 10 11 
 7  8  9 10 11 12 
Author Mykhailo Medvediev