#include<bits/stdc++.h>
using namespace std;

int t, n;
long long b[200005];
long long sum;

int main() {
	ios::sync_with_stdio(0);
	cin >> t;
	while(t--) {
		cin >> n;
		for(int i = 1; i <= n + 2; i++) cin >> b[i];

		sort(b + 1, b + n + 1 + 2);

		sum = 0LL;
		for(int i = 1; i <= n; i++)
			sum += b[i];

		long long tmp = sum + b[n + 1] - b[n + 2];
		int p;
		bool flag = false;
		for(int i = 1; i <= n + 1; i++)
			if(tmp == b[i]) p = i, flag = true;

		if(flag) {
			for(int i = 1; i <= n + 1; i++)
				if(i != p) cout << b[i] << ' ';
			cout << endl;
			continue;
		}

		if(sum == b[n + 1]) {
			for(int i = 1; i <= n; i++)
				cout << b[i] << ' ';
			cout << endl;
			continue;
		}

		cout << -1 << endl;
	}
	return 0;
}