#include using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); int n,m,c; cin>>n>>m>>c; if((n==1&&m>2)||(m==1&&n>2)||(n%2==1&&m%2==1))cout<<"NO"s; else cout<<"YES"s; cout<<"\n"s; }