#include using namespace std; #define int long long signed main(){ int N; cin>>N; int sum = 0; for(int i=0;i>a; sum += a; } if(sum%N == 0) cout<<"Yes"<