/* Author : Bui Anh Quan, Ly Thuong Kiet secondary school */
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a,b;
cin >> a >> b;
if((a + b) % 2 == 0)cout << "YES"; // Kiểm tra xem a + b có chẵn hay không //
else cout << "NO";
}
LyogQXV0aG9yIDogQnVpIEFuaCBRdWFuLCBMeSBUaHVvbmcgS2lldCBzZWNvbmRhcnkgc2Nob29sICovCiNpbmNsdWRlPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCl7CiAgICBsb25nIGxvbmcgYSxiOwogICAgY2luID4+IGEgPj4gYjsKICAgIGlmKChhICsgYikgJSAyID09IDApY291dCA8PCAiWUVTIjsgLy8gS2nhu4NtIHRyYSB4ZW0gYSArIGIgY8OzIGNo4bq1biBoYXkga2jDtG5nIC8vCiAgICBlbHNlIGNvdXQgPDwgIk5PIjsKfQ==