Skip to content
UPEEC

Multiplication Table

Easy#basics#loops· solved by 0 · time limit 2.0 s

Print the multiplication table of nn from 1 to 10, one line each, exactly in the format shown in the sample.

Input

A single integer nn.

Output

Ten lines: n x k = n·k for k=1…10k = 1 \dots 10.

Constraints

−1000≤n≤1000-1000 \le n \le 1000

Sample 1

Input

5

Output

5 x 1 = 5
5 x 2 = 10
5 x 3 = 15
5 x 4 = 20
5 x 5 = 25
5 x 6 = 30
5 x 7 = 35
5 x 8 = 40
5 x 9 = 45
5 x 10 = 50

Sign in or join free to run and submit your solution.