PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#SCKTCUOIKI0009. In bảng nhân của một số (Multiplication Table)

Bài tập này chưa được xếp vào lộ trình.

In bảng nhân của một số (Multiplication Table)

Multiplication Table

**Version: Phuoc Hung OJ Extended

Problem Statement

Given an integer nn from 22 through 99, print its multiplication table for factors 11 through 99. Each line must have the exact form n x i = t, where x is the lowercase letter x and t=n×it=n\times i. Use exactly one space between the components.

Input

The only line contains the integer nn.

Output

Print exactly 99 lines in increasing order of ii from 11 to 99. Line ii must have the form n x i = t, where t=n×it=n\times i.

Subtasks

  • Subtask 1 (20 points): 2≤n≤32\le n\le3.
  • Subtask 2 (30 points): 2≤n≤52\le n\le5.
  • Subtask 3 (50 points): 2≤n≤92\le n\le9.

Examples

Input

4

Output

4 x 1 = 4
4 x 2 = 8
4 x 3 = 12
4 x 4 = 16
4 x 5 = 20
4 x 6 = 24
4 x 7 = 28
4 x 8 = 32
4 x 9 = 36

Explanation

With n=4n=4, multiplying by 11 through 99 gives 4,8,12,16,20,24,28,32,364,8,12,16,20,24,28,32,36. Print each factor pair and product in the required format on its own line.