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