list1 = list(map(int,input().split()))
list1 = sorted(list1)
print(list1[0])