#include <bits/stdc++.h>
using namespace std;
int a[200010];
int n, m;
long long cnt, sum;
int main() {
  int i, j, k;
  while (scanf("%d%d", &n, &m) != EOF) {
    for (i = 1; i <= n; i++) {
      scanf("%d", &a[i]);
    }
    cnt = sum = 0;
    for (i = 1; i <= n; i++) {
      if (sum - cnt * (n - i) * a[i] >= m) {
        sum += cnt * a[i];
        cnt++;
      } else
        printf("%d\n", i);
    }
  }
  return 0;
}
