from decimal import *

getcontext().prec = 32

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

print((int(a*b)))

from decimal import Decimal

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

print((int(a*b)))

from decimal import *

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

from decimal import Decimal

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

-from decimal import * +from decimal import Decimal -getcontext().prec = 32