import math

from decimal import Decimal

a,b=input().split()

a=int(a)

new_a=Decimal(a)

new_b=Decimal(b)

print((math.floor(new_a*new_b)))
import math

from decimal import Decimal

a,b=input().split()

new_a=Decimal(a)

new_b=Decimal(b)

print((math.floor(new_a*new_b)))
import math
from decimal import Decimal

a, b = input().split()
a = int(a)
new_a = Decimal(a)
new_b = Decimal(b)
print((math.floor(new_a * new_b)))

import math
from decimal import Decimal

a, b = input().split()
new_a = Decimal(a)
new_b = Decimal(b)
print((math.floor(new_a * new_b)))

-a = int(a)