import math n,x,y= input().split() n = int(n) x = int(x) y = int(y) a = math.ceil(y/x) if n>=a: print(n-a) else: print(0)