Addition table#94

Addition table

1 second
128 megabytes
Very easy (≈850)

In an n\times n table, the value of each cell is equal to the sum of its corresponding row and column numbers. The numbering starts from 1. That is, the cell in the -th row and -th column must be equal to i + j.

Input

A natural number (n < 50).

Output

Print the addition table. Use the setw() method in the output to ensure all columns are aligned properly.

Examples

Example 1

Loading
Loading