#include<bits/stdc++.h>
#define ll long long
#define N 200010
using namespace std;


int a[N];

int main()
{
	int t;
	cin>>t;
	while(t--)
	{
		int n;
		cin>>n;
		ll sum = 0;
		for(int i=0;i<n+2;i++)
		{
			cin>>a[i];
		} 
		sort(a,a+n+2);
		int flag = 0;
		
		for(int i=0;i<n+1;i++) 
		{
			sum+=a[i];
		}
		
		int ff;
		
		if(sum>a[n+1])
		{
			for(int i=0;i<n+1;i++)
			{
				if(sum-a[i]==a[n+1])
				{
					ff =  i;
					flag = 1;
				}
			}
		}
		if(flag)
		{
			for(int i=0;i<n+1;i++)
			{
				if(i!=ff) cout<<a[i]<<" ";
			}cout<<endl;
			continue;
		}
		if(sum-a[n]==a[n])
		{
			flag = 1;
			for(int i=0;i<n;i++) cout<<a[i]<<" ";cout<<endl;
		}
		if(flag==0) cout<<-1<<endl;
	}
}