#include "bits/stdc++.h" using namespace std; int main(){ int N, M; cin >> N >> M; if (N == 1 || M == 1) cout << "NO" << endl; if (N % 2 && M % 2) cout << "NO" << endl; else cout << "YES" << endl; }