from decimal import Decimal



a, b = input().split()

a = Decimal(a)

b = Decimal(b)

c = a*b

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

a = int(a)



c = 0

c += a*int(b[0])*100

c += a*int(b[2])*10

c += a*int(b[3])

c = str(c)

if(len(c) < 3):

  print((0))

else:

  print((c[:-2]))



from decimal import Decimal

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

a, b = input().split()
a = int(a)
c = 0
c += a * int(b[0]) * 100
c += a * int(b[2]) * 10
c += a * int(b[3])
c = str(c)
if len(c) < 3:
    print((0))
else:
    print((c[:-2]))

-from decimal import Decimal - -a = Decimal(a) -b = Decimal(b) -c = a * b -print((int(a * b))) +a = int(a) +c = 0 +c += a * int(b[0]) * 100 +c += a * int(b[2]) * 10 +c += a * int(b[3]) +c = str(c) +if len(c) < 3: +    print((0)) +else: +    print((c[:-2]))