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

void solve() {
    int n;
    cin>>n;
    n+=2;
    int ar[n];
    ll sum=0;
    for(int i=0;i<n;i++){
    	cin>>ar[i];
    	sum+=ar[i];
	}
	
	sort(ar,ar+n);
	sum-=ar[n-1];
	int ans=-1;
	for(int i=0;i<n-1;i++){
		if(sum - ar[i] == ar[n-1]){
			ans=i;
			break;
		}
	}
	if(ans>=0){
		for(int i=0;i<n-1;i++){
			if(i!=ans)cout<<ar[i]<<" ";
		}
		cout<<endl;
		return;
	}
	if(sum == 2*ar[n-2]){
		for(int i=0;i<n-2;i++){
			cout<<ar[i]<<" ";
		}
		cout<<endl;
	}
	else cout<<"-1\n";
}

int main(){
	int t;
	cin>>t;
	while(t--){
		solve();
	}
	return 0;
}

