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