result = 0
n = 1
m = 2

# for y in range (8):
#     for x in range(9):
#         result = m*n
#         print(m,'x',n,'=',result)
#         n += 1
#     m +=1
#     n = 1
#     print("-"*20)

for y in range(18):
    for x in range(19):
        result = m * n
        print(m, 'x', n, '=', result)
        n += 1
    m += 1
    n = 1
    print("-" * 20)
