import std.stdio;
import std.conv, std.array, std.algorithm, std.string;
import std.math, std.random, std.range, std.datetime;
import std.bigint;

void main(){
	int n = readln.chomp.to!int;
	int[] as = readln.chomp.split.map!(to!int).array;
	
	int c = 0;
	foreach(a; as) if(a % 2) c += 1;
	
	string ans;
	if(c % 2) ans = "NO"; else ans = "YES";
	
	ans.writeln;
	
	}