#include #include #include #include #include #include #include using namespace std; #define int long long #define endl "\n" constexpr long long INF = (long long)1e18; constexpr long long MOD = 1'000'000'007; struct fast_io { fast_io(){ std::cin.tie(nullptr); std::ios::sync_with_stdio(false); }; } fio; signed main(){ cout<>N; for(int i = 0; i < N-1; i++){ int A; cin>>A; sum += A; } int con = 0; for(int i = 0; i <= 100; i++){ if((sum + i) % N == 0) { con++; } } cout<