a,b=list(map(int,input().split()));print((a*b))
x,y=input().split();x=int(x);y=float(y);print((int(x*y)))
a, b = list(map(int, input().split()))
print((a * b))

x, y = input().split()
x = int(x)
y = float(y)
print((int(x * y)))

-a, b = list(map(int, input().split())) -print((a * b)) +x, y = input().split() +x = int(x) +y = float(y) +print((int(x * y)))