#include using namespace std; int main() { int n, m, c; cin >> n >> m >> c; if (n == 1 || m == 1 || n*m%2 == 1) cout << "NO" << endl; else cout << "YES" << endl; return 0; }