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