#include <iostream> using namespace std; int main() { int n, k; cin >> n >> k; int total = n - 1; if (total >= k) { cout << "YES"; }else { cout << "NO"; } return 0; } // 64 位输出请用 printf("%lld")