a,b,c=input().split() a=int(a) b=int(b) c=int(c) if a<b: x=a else: x=b if x<c: y=x else: y=c print(y)