h1,h2,ra=map(int,input().split()) cnt=0 for i in range(ra): cnt+=1 if h1<=ra: cnt-=1 elif h1