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