#include <iostream>
using namespace std;

int main(){
int n, cnt = 0;
cin >> n;
for(int i = 1; i <= n; ++ i){
int x;
cin >> x;
if(x % 2) cnt ++;
}
if(cnt % 2){
cout << "NO";
} else {
cout << "YES";
}
    return 0;
}