from decimal import *

a,b = input().split()



ans = Decimal(a) * Decimal(b)

print((int(ans)))
a,b = input().split()



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



ans = (int(a) * int(b))//100



print(ans)
from decimal import *

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

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

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