using namespace std; int main () { int a,b; cin>>a>>b; if ((a==b)||((a+b)%2==0)) cout<<"YES"; else cout<<"NO"; }