#include <bits/stdc++.h>
using namespace std;
int main() {
  int N; cin >> N;
  bool f = 1;
  while (N--) {
    int t; cin >> t;
    f ^= t & 1;
  }
  if (f) cout << "YES" << endl;
  else cout << "NO" << endl;
}
