#include <iostream>
using namespace std;

int main() {
    int n, k;
    cin >> n >> k;
    cout << (n > k ? "YES" : "NO") << endl;
    return 0;
}