#include #include #include using namespace std; int main() { int h, w; cin >> h >> w; int _; cin >> _; if (h > w) swap(h, w); if (h == 1) { cout << (w <= 2 ? "YES" : "NO") << endl; } else { cout << (h * w % 2 == 0 ? "YES" : "NO") << endl; } return 0; }