题号:NC25689
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld
题目描述
In order to celebrate the admission of new members, Coach Fang resolves to hold a programme named

. Participants include Coach Fang, Boss Niu, God Chai, Brother Wang, Teacher Gao and Senior Wang, six persons in total. Initially all of them will be distributed one card which contains a number. It is known that five of the numbers on their cards are identical, and the rest one is different.
Now give you six numbers on the cards, please print the different one.
输入描述:
The first line contains an integer number T, the number of test cases.
of each next T lines contains six integers a, b, c, d, e, f(
).
输出描述:
For each test case print a number, the number which differs from others.
示例1
输入
复制
2
3 4 3 3 3 3
6 6 6 5 6 6