#include <iostream>
#include <algorithm>
#include<cmath>
#include<cstring>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<iomanip>
using namespace std;
int n,m,i,j,x,s;
int main()
{
	cin>>n;
	for (i=1;i<=n;i++)
	{
		scanf("%d",&x);
		if (x%2==1) s++;
	}
	if (s%2==0) cout<<"YES"; else cout<<"NO";
	return 0;
}
