print([int(input()) for _ in range(3)].sort(reverse=True))