A, B, C = list(map(int, input().split()))

if A == B:

    print(C)

elif B == C:

    print(A)

else:

    print(B)

A, B, C = list(map(int, input().split()))

print((C if A == B else A if B == C else B))

A, B, C = list(map(int, input().split()))
if A == B:
    print(C)
elif B == C:
    print(A)
else:
    print(B)

A, B, C = list(map(int, input().split()))
print((C if A == B else A if B == C else B))

-if A == B: -    print(C) -elif B == C: -    print(A) -else: -    print(B) +print((C if A == B else A if B == C else B))