#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define llong long long int main() { int n, m, c; cin >> n >> m >> c; if(n * m % 2 == 1) { cout << "NO" << "\n"; } else if(n == 1 || m == 1) { cout << "NO" << "\n"; } else { cout << "YES" << "\n"; } }