#include <iostream>
#include <cstdio>
using namespace std;
int n, totj;
int main() {
	scanf ("%d", &n);
	long long x;
	for (int i = 1; i <= n; i++) {
		scanf ("%lld", &x);
		if (x % 2 == 1) totj++;
	}
	if (totj % 2 == 0) {
		printf ("YES\n");
	} else printf ("NO\n");
	return 0;
}