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