#getting multiple inputs from single line and cast to list
list = list(map(int, input("").split())) 
#sort function
# sort is the fuction which is used to sort the elements in the ascending order
list.sort() 
# list[0] index having the least number 
print(list[0]) 
