from fractions import Fraction

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

print((int(a*b)))

from decimal import Decimal

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

a=int(a)

print((int((a*(b*100))//100)))

from fractions import Fraction

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

from decimal import Decimal

a, b = list(map(Decimal, input().split()))
a = int(a)
print((int((a * (b * 100)) // 100)))

-from fractions import Fraction +from decimal import Decimal -a, b = list(map(Fraction, input().split())) -print((int(a * b))) +a, b = list(map(Decimal, input().split())) +a = int(a) +print((int((a * (b * 100)) // 100)))