#include using namespace std; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define ll long long const long long mod=998244353; const long long hmod=46216567629137; int main(){ cin.tie(0)->sync_with_stdio(0); cout.tie(0); int N; cin>>N; int A[N+1]; int L=0; for(int i=1;i<=N;i++){ cin>>A[i]; L+=A[i]; } L/=N; L+=100; int ans=0; for(int i=1;i<=N;i++){ if(L<=A[i]) ans++; } cout<