#include using namespace std; int main(){ long long a,b;cin>>a>>b; if((a%2 && b%2) || (a==b && a <= 2)){ cout << "No" << endl; }else{ cout << "Yes" << endl; } }