#include using namespace std; int main() { int N, M, C; cin >> N >> M >> C; if (N >= 2 && M >= 2) { cout << (N * M % 2 ? "NO" : "YES") << endl; } else { cout << (C == N || C == M ? "YES" : "NO") << endl; } }