A = list(map(int, input().split())) print(min(A))