typedef long long ll; typedef long double ld; #include using namespace std; #define int long long signed main(){ ll n,m; std::cin >> n>>m; if(n*(n+1)/2<=m){ std::cout << "Yes" << std::endl; }else{ std::cout << "No" << std::endl; } }