#include <bits/stdc++.h>
using namespace std;

int main(){
  int N;
  cin>>N;
  int a;
  int k=0;
  for(int i=0;i<N;i++){
    cin>>a;
    if(a%2)k++;
  }
  if(k%2)cout<<"NO"<<endl;
  else cout<<"YES"<<endl;
}