A,B,S = map(int,input().split()) if S<=A: print(A) elif 0