#include #define rep(i,n) for(int i=0;i<(int)(n);i++) #define rep1(i,n) for(int i=1;i<=(int)(n);i++) #define all(c) c.begin(),c.end() #define pb push_back #define fs first #define sc second #define show(x) cout << #x << " = " << x << endl #define chmin(x,y) x=min(x,y) #define chmax(x,y) x=max(x,y) using namespace std; int H,W; bool solve(){ cin>>H>>W; if(H>W) swap(H,W); if(H==1) return W==2; if(H*W%2) return 0; return 1; } int main(){ if(solve()) puts("YES"); else puts("NO"); }