**Compilation/Execution Result:**

You are given an array of N+2 integer elements. All elements of the array are in range 1 to N. And all elements occur once except two numbers which occur twice. Find the two repeating numbers.

**Input:**

The first line of the input contains an integer T, denoting the total number of test cases. Then T test cases follow Each test case consists of two lines. First line of each test case contains an integer N denoting the range of numbers to be inserted in array of size N+2. Second line of each test case contains the N+2 space separated integers denoting the array elements.

**Output: **

Print the two elements occuring twice in the array. Order of the two elements must be preserved as in the original list, i.e., print the element which arrives first(2nd time).

**Constraints: **

1 ≤ T ≤ 30

1 ≤ N ≤ 100

**Example:**

**INPUT**

1

4

1 2 1 3 4 3

**OUTPUT**

1 3

rksingh | 72 |

sj5331 | 63 |

Cqwert | 60 |

iharshitmittal | 56 |

rishusinha | 54 |

Shashank_Pathak | 628 |

dark_knights | 560 |

surbhi_7 | 556 |

SANJAY5797 | 359 |

rksingh | 356 |

akhayrutdinov | 4156 |

sanjay05 | 3611 |

Quandray | 2815 |

Ibrahim Nash | 2495 |

Michael Riegger | 2290 |