#include<iostream>
#include<cstdio>

const int maxn = 100000+7;
using namespace std;

int a[maxn],n,cnt;
int main()
{
	scanf("%d",&n);
	for(int i=1;i<=n;++i)
	{
		scanf("%d",&a[i]);
		if(a[i]%2==1)++cnt;
	}
	if(cnt%2==1 && n>1)printf("NO\n");
	else printf("YES\n");
	return 0;
}