#include <bits/stdc++.h>

#define MAXN (100010)

int n, ans;

int main(){
	scanf("%d", &n);
	for(int i = 1, ai; i <= n; ++ i){
		scanf("%d", &ai);
		ans ^= ai & 1;
	}
	printf(ans ? "NO\n" : "YES\n");
	return 0;
}