#include <iostream>
using namespace std;

int main() {
	int N, A, count = 0;
	cin >> N;
	for (int i = 0; i < N; i++) {
		cin >> A;
		count += A % 2;
	}
	if (count % 2 == 0) cout << "YES" << endl;
	else cout << "NO" << endl;
}