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