Help Superman to Find Missing Student

0

0 votes
Easy
Problem

N consecutive students visited to Disneyland with their Teachers to see their superhero Superman. They entered the magical kingdom but when they left it one of them was missing remaining N-1 students. Teacher has Enrollment number of all of the students in an List. But the list is unordered as a superhero Superman has taken the responsibility to find missing student. Help Superman to find the student.

INPUT

- The first line of the input contains an integer T denoting the number of test cases.
- Each test case will contain an Integer N denoting the number elements of List.
- Each test case will contain N space separated enrollment numbers of student.

OUTPUT

- For each Test case print the Enrollment number of the student.

CONSTRAINTS

1 ≤ T ≤ 10000
1 ≤ N ≤ 2000
0 ≤ Enrollments ≤ 30000

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?