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