from decimal import Decimal import math v, t = [Decimal(x) for x in input().split()] res = math.floor(v * t) print(res)