A = list(map(int, input().split())) A.sort() print(A[0])