#include <bits/stdc++.h>
using namespace std;
bool inc(vector<long long int> vec) {
  for (long long int i = 1; i <= (long long int)(vec.size() - 1); i++) {
    if (vec[i] < vec[i - 1]) return 0;
  }
  return 1;
}
void solve() {
  long long int n, a, b, c;
  cin >> n;
  for (long long int i = (long long int)(0); i <= (long long int)(n - 1); i++) {
    long long int temp;
    cin >> temp;
    if (i == 0)
      a = temp;
    else if (i == 1)
      b = temp;
    else if (i == n - 1)
      c = temp;
  }
  if (a + b <= c)
    cout << a << ' ' << b << ' ' << c << '\n';
  else
    cout << -1 << '\n';
}
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long int tt;
  cin >> tt;
  while (tt--) {
    solve();
  }
  return 0;
}
