#include using namespace std; #define REP(i, n) for(int(i)=0;(i)<(n);++(i)) int main(){ int N,M,C; cin >> N >> M >> C; if(N > M) swap(N,M); if(N > 1){ if(N % 2 == 0 || M % 2 == 0){ cout << "YES" << endl; } else { cout << "NO" << endl; } } else { if(M == 2){ cout << "YES" << endl; } else { cout << "NO" << endl; } } return 0; }