#include <iostream>
using namespace std;
#define N 100005

int main() {
	long long n,ni=0,a[N],b=0,c=0;
	for(cin>>n;ni<n;ni++){
		cin>>a[ni];
		a[ni]%2?b++:c++;
	}c+=b/2;
	if(!(b%2))cout<<"YES\n";
	else cout<<"NO\n";
}