#include using namespace std; int main(){long n,m;cin>>n>>m;cout<<(n*(n+1)/2<=m?"Yes":"No")<