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