num = [int(i) for i in input().split() ]

print((num[0] * num[1]))
A,B = [int(i) for i in input().split()]

print((A*B))
num = [int(i) for i in input().split()]
print((num[0] * num[1]))

A, B = [int(i) for i in input().split()]
print((A * B))

-num = [int(i) for i in input().split()] -print((num[0] * num[1])) +A, B = [int(i) for i in input().split()] +print((A * B))