# No.350 d=vt from decimal import Decimal v, t = [Decimal(i) for i in input().split()] print(int(v * t))