from decimal import *



a,b=input().split()

a = Decimal(a)

b = Decimal(b)



c = a*b



n = 0

ans =c.quantize(Decimal(str(10**(n*-1))), rounding = ROUND_DOWN)

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

a=int(a)

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

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

a, b = input().split()
a = Decimal(a)
b = Decimal(b)
c = a * b
n = 0
ans = c.quantize(Decimal(str(10 ** (n * -1))), rounding=ROUND_DOWN)
print(ans)

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

-from decimal import * - -a = Decimal(a) -b = Decimal(b) -c = a * b -n = 0 -ans = c.quantize(Decimal(str(10 ** (n * -1))), rounding=ROUND_DOWN) -print(ans) +a = int(a) +b = int(b.replace(".", "")) +print((a * b // 100))