#include typedef long long ll; using namespace std; int INF = 1e9; int MOD = 1e9+7; main(){ int N,M,C; cin >> N >> M >> C; if((N%2)&(M%2) || N == 1 || M == 1)cout << "NO" << endl; else cout << "YES" << endl; }