#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
	int A,B,C;
	cin >> A >> B >> C;
	if(A % 2 == 0)
	{
		if(C % 2 == 0)
			cout << "YES" << endl;
			else
				cout << "NO" << endl;
	}
		else
				cout << "YES" << endl;
	return 0;
}