import math import decimal decimal.getcontext().prec = 10 v, t = map(decimal.Decimal, input().split()) print(math.floor(v*t))