First 5 lines describe the card. Each line contains 5 integers between 1 and 25.
( We guarantee that all 25 numbers are distinct. )
Next line contains an integer T ( 1 <= T <= 100 ), number of testcases.
Following are T testcases, and each of them contains 2 lines.
The first line of each testcase contains an integer N ( 1 <= N <= 25 ), number of selected numbers.
The second line contains N distinct selected numbers, from 1-st to N-th.
For each testcase, print out an integer x, telling eccioa he can get the reward at x-th number, with x as small as possible. If he couldn't, tell him that he did not get the reward yet.
See Sample Output for more information about output format.