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