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('.', ''))

 

ans = a * b // 100

print(ans)
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(".", ""))
ans = a * b // 100
print(ans)

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