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