#include <bits/stdc++.h>
using namespace std;
int readint() {
  int cc = getc(stdin);
  int ret;
  for (; cc < '0' || cc > '9';) cc = getc(stdin);
  ret = 0;
  for (; cc >= '0' && cc <= '9';) {
    ret = ret * 10 + cc - '0';
    cc = getc(stdin);
  }
  return ret;
}
int main(void) {
  int n, k, arr[200005];
  long long left[200005] = {0}, right[200005] = {0}, d[200005] = {0};
  cin >> n >> k;
  for (int i = 1; i <= n; i++) arr[i] = readint();
  long long leftsum = 0, presum, rem[200005] = {0}, nn = n;
  for (int i = 1, prei = 0; i <= n; i++) {
    left[prei + 1] = arr[i] * prei;
    right[prei + 1] = (nn - prei - 1) * arr[i];
    presum = left[prei];
    leftsum += left[prei];
    d[prei + 1] = leftsum - right[prei + 1] * prei;
    if (d[prei + 1] < k) {
      nn--;
      printf("%d\n", i);
      leftsum -= presum;
      rem[i] = 1;
    }
    if (rem[i] == 0 && i < n) prei++;
  }
  return 0;
}
