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