from decimal import Decimal

a,b=input().split()

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

a=int(a)

b=int(b.replace(".",""))

print((a*b//100))
from decimal import Decimal

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

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

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