from decimal import *

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

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

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

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

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

from decimal import *

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

-print((a * b)) +print((int(a * b)))