,t,s = map(int,input().split()) if t == 0 or m == 0: print(0) elif s == 0 : print(m) elif s/t <= m: print(m-(s//t))