N=int(input())
if(2<N<1000):
    for i in range(10):
        print(i+1,"x",N,"=",(i+1)*N)

2e3a88c8552a6dd2569332577b7160683b488de8
<mask token>

<mask token>
if 2 < N < 1000:
    for i in range(10):
        print(i + 1, 'x', N, '=', (i + 1) * N)

N = int(input())
if 2 < N < 1000:
    for i in range(10):
        print(i + 1, 'x', N, '=', (i + 1) * N)

N=int(input())
if(2<N<1000):
    for i in range(10):
        print(i+1,"x",N,"=",(i+1)*N)
