#include<bits/stdc++.h>
using namespace std;
template <typename T> inline void read(T &x)
{
	x=0;int f=1;char c=getchar();
	for(;c>'9'||c<'0';c=getchar())if(c=='-')f=-1;
	for(;c>='0'&&c<='9';c=getchar())x=(x<<1)+(x<<3)+(c^48);
	x*=f;
}
template <typename T> inline void print(T x)
{
	if(x<0) putchar('-'),x=-x;
	if(x>9) print(x/10);
	putchar(x%10+48);
}
long long s[1010010];
long long a,ans=0;
int main()
{
	read(a);
	for(int i=1;i<=a;i++)
	{
		read(s[i]);
		if(s[i]%2!=0)
			ans++;
	}
	if(ans%2==0)
		cout<<"YES";
	else
		cout<<"NO";
	return 0;
}
