n ,x,y= input().split() n,x,y= int(n),int(x),int(y) res = n-y//x if y%x==0 else n-y//x -1 if res<0: res = 0 print(res)