#include using namespace std; using ll = long long; const int INF = 1e+9; const ll LINF = (ll)pow(10,18); int main(){ int n; cin >> n; int a; ll sum = 0; for(int i=0; i> a; sum += a; } if((double)sum/n == sum/n) cout << "Yes" << endl; else cout << "No" << endl; }