#include <bits/stdc++.h>
using namespace std;
long long mod = 998244353;
long long inf = 1e15;
long long n, m, k, q;
long long w[200003];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> w[i];
  long long s = w[1];
  long long d = w[1];
  vector<long long> v;
  v.push_back(1);
  for (int i = 2; i <= n; i++) {
    s += w[i];
    if (w[i] * 2 <= w[1]) {
      d += w[i];
      v.push_back(i);
    }
  }
  if (d * 2 <= s) return cout << 0, 0;
  cout << v.size() << endl;
  for (auto pp : v) cout << pp << ' ';
  return 0;
}
