// No.85 TVザッピング(1) // https://yukicoder.me/problems/no/85 // #include #include using namespace std; string solve(int N, int M); int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); int N, M, C; cin >> N >> M >> C; string ans = solve(N, M); cout << ans << endl; } string solve(int N, int M) { if ((N % 2 == 1 && M % 2 == 1) || (N == 1 && M != 2) || (M == 1 && N != 2)) return "NO"; else return "YES"; }