#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, counter = 1, ans = 0;
    cin >> n;
    vector<int> arr(n);
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
      if (i && arr[i - 1] == arr[i])
        counter++;
      else if (i) {
        ans = max(ans, counter), counter = 0;
      }
    }
    if (ans < 3)
      cout << n - 2 << " " << n - 1 << " " << n << endl;
    else
      cout << -1 << endl;
  }
}
