#include using namespace std; int main(void) { int N, M, C; cin >> N >> M >> C; if(N > M) swap(N, M); if(N == 1) cout << (M == 2 ? "YES" : "NO") << "\n"; else cout << (N * M % 2 == 0 ? "YES" : "NO") << "\n"; return 0; }