#include using namespace std; int main() { int n, m, c; cin >> n >> m >> c; bool possible; if (n == 1) { possible = (m == 2); } else if (n == 2) { possible = true; } else if (n % 2 == 1) { possible = (m % 2 == 0); } else { possible = (m >= 2); } cout << (possible ? "YES" : "NO") << endl; return 0; }