a, b = list(map(int, input().split()))

answer = a * b

print(answer)
a, b = list(map(int, input().split()))

print((a*b))
a, b = list(map(int, input().split()))
answer = a * b
print(answer)

a, b = list(map(int, input().split()))
print((a * b))

-answer = a * b -print(answer) +print((a * b))