a,b,c=map(int,input().split()) soccer=[a,b,c] print(min(soccer))