a,b = input().split()

a = int(a)

c,d = b.split('.')

a *= int(c + d)

a //= 100

print(a)
from decimal import Decimal as D



a,b = input().split()

print((int(D(a) * D(b))))

a, b = input().split()
a = int(a)
c, d = b.split(".")
a *= int(c + d)
a //= 100
print(a)

from decimal import Decimal as D

a, b = input().split()
print((int(D(a) * D(b))))

+from decimal import Decimal as D + -a = int(a) -c, d = b.split(".") -a *= int(c + d) -a //= 100 -print(a) +print((int(D(a) * D(b))))