#include using namespace std; #define rep(i, a) for (int i = 0; i < (a); i++) #define rep2(i, a, b) for (int i = (a); i < (b); i++) #define repr(i, a) for (int i = (a) - 1; i >= 0; i--) #define repr2(i, a, b) for (int i = (b) - 1; i >= (a); i--) template bool chmin(T1 &a, T2 b) { return b < a && (a = b, true); } template bool chmax(T1 &a, T2 b) { return a < b && (a = b, true); } typedef long long ll; int main() { int n, m, c; cin >> n >> m >> c; bool ans; if (n == 1 || m == 1) { ans = n == 1 && m == 1 || n == 1 && m == 2 || n == 2 && m == 1; } else { ans = n % 2 == 0 || m % 2 == 0; } cout << (ans ? "YES" : "NO") << endl; return 0; }