#include #include #include using namespace std; #define RREP(i,s,e) for (i = e-1; i >= s; i--) #define rrep(i,n) RREP(i,0,n) #define REP(i,s,e) for (i = s; i < e; i++) #define rep(i,n) REP(i,0,n) #define INF 1e8 typedef long long ll; int main() { int n, m, c; cin >> n >> m >> c; if (min(n,m) == 1) { if (max(n,m) == 2) cout << "YES" << endl; else cout << "NO" << endl; } else if (n % 2 == 1 && m % 2 == 1) cout << "NO" << endl; else cout << "YES" << endl; return 0; }