#include using namespace std; template void cmin(T &a, U b) { if (a > b) a = b; } template void cmax(T &a, U b) { if (a < b) a = b; } signed main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int N, M, C; cin >> N >> M >> C; if ((N == 1 && M == 2) || (N == 2 && M == 1)) return cout << "YES" << "\n", 0; cout << ((N % 2 && M % 2) ? "NO" : "YES") << "\n"; }