#include using namespace std; using ll = long long; #ifdef LOCAL #include #else #define debug(...) #endif int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(20); int N; cin >> N; vector A(N); for (int i = 0; i < N; i++) cin >> A[i]; int L = reduce(A.begin(), A.end()) / N, ans = 0; for (int i = 0; i < N; i++) { if (A[i] >= L + 100) ans++; } cout << ans << "\n"; }