#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, j = 0, *a, *b, *c, x, y, z, sum = 0, n, k, ct = 0, temp;
  cin >> n >> k;
  a = new long long int[n + 1];
  b = new long long int[n + 1];
  c = new long long int[n + 1];
  for (i = 1; i < n + 1; i++) cin >> a[i];
  b[1] = 0;
  c[1] = 0;
  for (i = 2; i <= n; i++) {
    b[i] = -(n - i) * a[i];
    if (i == 2)
      c[i] = b[i];
    else
      c[i] = b[i] * (i - 1) + sum;
    sum += (i - 1) * a[i];
  }
  sum = 0;
  for (i = 2; i <= n; i++) {
    temp = c[i] - b[i] * ct - sum;
    if (temp < k) {
      ct++;
      cout << i << " ";
      sum += (i - 1) * a[i];
    } else
      sum += ct * a[i];
  }
  return 0;
}
