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