#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; } }