#include using namespace std; using ll = long long; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int n; cin >> n; vector a(n); for (int &x : a) cin >> x; int l = accumulate(a.begin(), a.end(), 0) / n; cout << count_if(a.begin(), a.end(), [&l](int x){return x >= l + 100;}) << "\n"; return 0; }