#include using namespace std; int main(){ int h,w,k; cin >> h >> w >> k; if(h%2==1 and w%2==1){ cout << "NO" << endl; } else { cout << "YES" << endl; } return 0; }