import math

from decimal import Decimal



A = input().split()

answer = Decimal(A[0]) * Decimal(A[1])



print((math.floor(answer)))
a, b = input().split()

a = int(a)

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



ans = a * b // 100



print(ans)
import math
from decimal import Decimal

A = input().split()
answer = Decimal(A[0]) * Decimal(A[1])
print((math.floor(answer)))

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

-import math -from decimal import Decimal - -A = input().split() -answer = Decimal(A[0]) * Decimal(A[1]) -print((math.floor(answer))) +a, b = input().split() +a = int(a) +b = int(b.replace(".", "")) +ans = a * b // 100 +print(ans)