#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t;
  cin >> t;
  long long int n;
  long long int a, b, c, d;
  for (long long int ii = 1; ii <= t; ii++) {
    cin >> n;
    for (long long int i = 1; i <= n; i++) {
      if (i == 1)
        a = d;
      else if (i == 2)
        b = d;
      else if (i == n)
        c = d;
    }
    if ((a + b) <= c)
      cout << -1 << endl;
    else
      cout << 1 << " " << 2 << " " << n << endl;
    ;
  }
}
