#include using namespace std; typedef long long ll; int main() { ll N, M; cin >> N >> M; if(N*(N-1)/2 <= M) { cout << "Yes" << endl; } else { cout << "No" << endl; } }