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

print((a*b))
import math

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

a = int(a)



print((math.floor(a*int(float(b)*100+0.1)/100)))
a, b = list(map(int, input().split()))
print((a * b))

import math

a, b = list(map(str, input().split()))
a = int(a)
print((math.floor(a * int(float(b) * 100 + 0.1) / 100)))

-a, b = list(map(int, input().split())) -print((a * b)) +import math + +a, b = list(map(str, input().split())) +a = int(a) +print((math.floor(a * int(float(b) * 100 + 0.1) / 100)))