A, B = list(map(float,input().split()))



result = int(A * B)



print(result)
x, y = list(map(int, input().split()))



result = x * y 



print(result)

A, B = list(map(float, input().split()))
result = int(A * B)
print(result)

x, y = list(map(int, input().split()))
result = x * y
print(result)

-A, B = list(map(float, input().split())) -result = int(A * B) +x, y = list(map(int, input().split())) +result = x * y