import math d,p = map(int,input().split()) print(d + math.floor(d*(p*10**-2)))