number = []
for n in range(3):
    numbers = int(input())
    number.append(numbers)
print(max(number))

d6489f04f4497f14c2ff842ec17b31565a2894a4
<mask token>

<mask token>
for n in range(3):
    numbers = int(input())
    number.append(numbers)
print(max(number))

number = []
for n in range(3):
    numbers = int(input())
    number.append(numbers)
print(max(number))
