from decimal import Decimal



A,B = input().split()

a = Decimal(A)

b = Decimal(B)

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

A = int(A)

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

print((A * B // 100))
from decimal import Decimal

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

A, B = input().split()
A = int(A)
B = int(B.replace(".", ""))
print((A * B // 100))

-from decimal import Decimal - -a = Decimal(A) -b = Decimal(B) -print((int(a * b))) +A = int(A) +B = int(B.replace(".", "")) +print((A * B // 100))