#C8426. Multiplication Table

    ID: 52407 Type: Default 1000ms 256MiB

Multiplication Table

Multiplication Table

Given a positive integer \(N\), you are required to generate and print an \(N \times N\) multiplication table. In this table, the element at the \(i\)-th row and \(j\)-th column is given by the product \(i \times j\). For example, when \(N = 3\), the table will be:

1 2 3
2 4 6
3 6 9

Your task is to implement a program that reads an integer from standard input and prints out the corresponding multiplication table to standard output. All numbers in a row should be separated by a single space and each row should be printed on a new line.

inputFormat

The input consists of a single integer \(N\) (\(1 \leq N \leq 20\)) representing the size of the multiplication table.

Input is read from standard input (stdin).

outputFormat

The output should be the \(N \times N\) multiplication table. Each of the \(N\) rows should contain \(N\) integers separated by spaces. There should be no extra spaces at the end of each line.

Output is written to standard output (stdout).

## sample
1
1

</p>