#include <algorithm>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int n,ans,temp;
int main()
{
	cin>>n;
	for (int i=1;i<=n;i++)
	{
		cin>>temp;
		ans+=temp;
	}
	if (ans%2==1)
	{
		cout<<"NO";
	}
	else
	{
		cout<<"YES";
	}
}