#include #include #include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin>>n; ll sum = 0; for(int i = 0;i>a; sum += a; } if(sum%n==0) cout<<"Yes\n"; else cout<<"No\n"; }