func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int a;     int sum = 0;     for (int i = 0; i < n; i++) {       cin >> a;       sum += a;     }     cout << (sum % n == 0 ? n : n - 1) << endl;     return 0;   }   