n,x,y=input().split() n,x,y=int(n),int(x),int(y) b=n*x//y c=n-b print(c)
------Input------ 389 1 24 ------Answer----- 365 ------Your output----- 373