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