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