#include using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); int n,a; cin>>n>>a; int64_t sum=0; for(int i=0;i>A; sum+=A; } cout<<((long double)sum/n==a?"YES"s:"NO"s)<<"\n"s; }