import decimal v, t = map(decimal.Decimal, input().split()) print(int(v * t))