#include<bits/stdc++.h>
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define popb pop_back()
#define sz size()
#define y1 dfsdsfsdfsd
#define next fdsfsdfjkl
#define speed ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
double pi = acos(-1.0);
const int inf = 1e9+7;
const ll INF = 1e18+7;
//////////////////////////////////////////

int n;
int a[100100];

int cnt0=0;
int cnt1=0;                    
int main(){speed;
	  cin>>n;
	  for(int i=1;i<=n;i++)
	  {
	     int x;
	     cin>>x;
	     if(x%2==0) cnt0++;
	     else cnt1++;
	  }
	
	  if(cnt1%2==1)
	  {
	   	cout<<"NO";
	   	return 0;
	  }
	  int r= cnt0 + cnt1/2;

	  if(r%2==1)
	  {
	   	cout<<"NO";
	   	return 0;
	  }
	  cout<<"YES";
}
