#include <bits/stdc++.h>
#define ll long long int
#define st string
#define b begin
#define e end
#define sr sort
#define sz size
#define lt length
#define URVATULLO_ATOEV
#define LFGS_STUDENTS
#define AUTHOR_URVATULLO_ATOEV
using namespace std;
int main()
{
	URVATULLO_ATOEV
	LFGS_STUDENTS
    AUTHOR_URVATULLO_ATOEV
    ll a,b;
    cin>>a>>b;
    if(a>b)
        cout<<"YES";
    else
        cout<<"NO";
}
