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

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

A = int(A)

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

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

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