newton/solutions/1915A.py

10 lines
189 B
Python
Raw Normal View History

2025-01-11 11:45:26 +00:00
t = int(input())
for _ in range(t):
digits = sorted([int(x) for x in input().split(' ')])
if min(digits) == digits[1]:
print(digits[2])
else:
print(digits[0])