#include "bits/stdc++.h" #define SORT(vec) sort(vec.begin(), vec.end()); typedef long long ll; using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); // -------------------------------------- int N, M, C; cin >> N >> M >> C; string ans; if (N == 1 || M == 1) { ans = "NO"; } else if( N % 2 == 0 || M % 2 == 0) { ans = "YES"; } else { ans = "NO"; } cout << ans << "\n"; }