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