lst = [int(i) for i in input().strip().split()] print(min(lst))