#A

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

print((A*B))
#C

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

A = int(A+0.1)

B = int(B*100+0.1)

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

# C
A, B = list(map(float, input().split()))
A = int(A + 0.1)
B = int(B * 100 + 0.1)
print((int((A * B) / 100)))

-# A -A, B = list(map(int, input().split())) -print((A * B)) +# C +A, B = list(map(float, input().split())) +A = int(A + 0.1) +B = int(B * 100 + 0.1) +print((int((A * B) / 100)))