/* -*- coding: utf-8 -*- * * 85.cc: No.85 TVザッピング(1) - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int n, m, c; cin >> n >> m >> c; if (n < m) swap(n, m); if (m == 1) cout << (n <= 2 ? "YES" : "NO") << endl; else cout << (((n * m) & 1) ? "NO" : "YES") << endl; return 0; }