A, B = input().split()

B = B.split('.')

if B[0]=='0':

    B = int(B[1])

else:

    B = int(B[0]+B[1])

A = int(A)

ans = A*B//100

print(ans)
from decimal import Decimal



S, T = input().split()

S = Decimal(S)

T = Decimal(T)



print((int(S*T)))
A, B = input().split()
B = B.split(".")
if B[0] == "0":
    B = int(B[1])
else:
    B = int(B[0] + B[1])
A = int(A)
ans = A * B // 100
print(ans)

from decimal import Decimal

S, T = input().split()
S = Decimal(S)
T = Decimal(T)
print((int(S * T)))

-A, B = input().split() -B = B.split(".") -if B[0] == "0": -    B = int(B[1]) -else: -    B = int(B[0] + B[1]) -A = int(A) -ans = A * B // 100 -print(ans) +from decimal import Decimal + +S, T = input().split() +S = Decimal(S) +T = Decimal(T) +print((int(S * T)))