X,Y,Z=map(int,input().split()) print(min[X,Y,Z])