#include <iostream>
using namespace std;
#define ll long long
#define ld long double
signed main(){
ll n;
cin >> n;
ld a[n],sum = 0;
for(ll i = 0; i < n; i++){
cin >> a[i];
sum += a[i];
}
ld av = sum/n;
for(ll i = 0; i < n; i++)
if(a[i] < av)
cout << i+1 << " ";
#include <iostream>
using namespace std;
#define ll long long
#define ld long double
signed main(){
ll n;
cin >> n;
ld a[n],sum = 0;
for(ll i = 0; i < n; i++){
cin >> a[i];
sum += a[i];
}
ld av = sum/n;
for(ll i = 0; i < n; i++)
if(a[i] < av)
cout << i+1 << " ";
}