#include using namespace std; int a,b; main() { cin>>a>>b; if(a+1<=b)cout<<"YES"<