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