a = [int(x) for x in input().split()] print(min(a))