import math from decimal import Decimal D,P = map(int,input().split()) print(D+math.floor(D*Decimal(str(P/100))))