(* 解説に基づく *)
let () =
	let _ = read_int () in (* n is not used *)
	let a =
		read_line ()
		|> Str.split (Str.regexp " ")
		|> List.map int_of_string
	in
	let sum = List.fold_left (+) 0 a in
	if sum mod 2 = 0 then
		print_endline "YES"
	else
		print_endline "NO"
