#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> ar;
    for (int i = 0; i < n; i++) {
      int x;
      cin >> x;
      ar.push_back(x);
    }
    int fnd = 0;
    int a, b, c;
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < i; j++) {
        if (ar[j] < ar[i]) {
          fnd = 1;
          b = i + 1;
          a = j + 1;
        }
      }
      if (fnd == 0) {
        continue;
      }
      for (int j = i + 1; j < n; j++) {
        if (ar[j] < ar[i]) {
          fnd = 2;
          c = j + 1;
        }
      }
      if (fnd == 2) {
        cout << "YES\n";
        cout << a << " " << b << " " << c << "\n";
        break;
      }
      fnd = 0;
    }
    if (fnd != 2) {
      cout << "NO\n";
    }
  }
  return 0;
}
