#include <bits/stdc++.h>
using namespace std;
long long a[100010];
void solve(int T) {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  int l, r;
  for (int i = 2; i < n; i++) {
    l = 0, r = 0;
    for (int j = 1; j < i; j++) {
      if (a[j] < a[i]) l = j;
    }
    for (int j = i + 1; j <= n; j++) {
      if (a[j] < a[i]) r = j;
    }
    if (l && r) {
      cout << "YES" << endl;
      cout << l << " " << i << " " << r << endl;
      return;
    }
  }
  cout << "NO" << endl;
}
signed main() {
  int t = 1;
  scanf("%d", &t);
  for (int i = 1; i <= t; i++) {
    solve(i);
  }
  return 0;
}
