#include using namespace std; const vector dx_2d = {1,-1,0,0}; const vector dy_2d = {0,0,1,-1}; void Yyy(){ cout << "Yes" << endl; } void Nnn(){ cout << "No" << endl; } void YYY(){ cout << "YES" << endl; } void NNN(){ cout << "NO" << endl; } void fixprecision(){ cout << fixed << setprecision(20); } template bool chmin(T& a,T b){ if(a > b){ a = b; return true; } else return false; } template bool chmax(T& a,T b){ if(a < b){ a = b; return true; } else return false; } int main(){ long long int N,A; cin >> N >> A; long long int S = 0; for(int i=0;i> X; S += X; } if(S == N*A) YYY(); else NNN(); }