a, b= (int(x) for x in input().split())



print((a*b))
import math

a,b = [float(x) for x in input().split()]

a = int(a)

b = int(b*100)

print((int(math.floor(a*b)//100)))
a, b = (int(x) for x in input().split())
print((a * b))

import math

a, b = [float(x) for x in input().split()]
a = int(a)
b = int(b * 100)
print((int(math.floor(a * b) // 100)))

-a, b = (int(x) for x in input().split()) -print((a * b)) +import math + +a, b = [float(x) for x in input().split()] +a = int(a) +b = int(b * 100) +print((int(math.floor(a * b) // 100)))