from decimal import Decimal



a, b = list(map(Decimal, input().split()))



print((int(Decimal(a*b))))
from decimal import Decimal



a, b = list(map(str, input().split()))



print((int(Decimal(a)*Decimal(b))))
from decimal import Decimal

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

from decimal import Decimal

a, b = list(map(str, input().split()))
print((int(Decimal(a) * Decimal(b))))

-a, b = list(map(Decimal, input().split())) -print((int(Decimal(a * b)))) +a, b = list(map(str, input().split())) +print((int(Decimal(a) * Decimal(b))))