m, t, s = map(int, input().split()) b = s / t c = m - b if t == 0 and s % t == 0: print(m) elif b >= m: print(0) elif c < 0: print(0) else: print(int(c))