Let the sequence A[], B[] and C[] be a non-decreasing sequence and have N, M, and K elements, respectively. Your service is find the common elements of these 3 numbers
input:

  • First line is test the number of T (T<20)
  • Each test consists of integers N, M and K (1≤ N, M, K ≤ 100 000).
  • The next line consists of N integers A[i], then M integers B[i] and K integers C[i].(0 <= A[i], B[i], C[i] <= 10^9)
    output :
  • For each test, print on one line the answers obtained. If you can’t find the answer, print “NO”

Input :
3

6 5 8

1 5 10 20 40 80

5 7 20 80 100

3 4 15 20 30 70 80 120

3 5 4

1 5 5

3 4 5 5 10

5 5 10 20

3 3 3

1 2 3

4 5 6

7 8 9

output:
20 80

5 5

NO