function Main(input) {
  	var list = input.split("\n")[1].split(" ").map((list)=>Number(list));
  var count = 0;
  for(var i = 0; i < list.length; i++){
    if(list[i] % 2 == 1){
       count++;
       }
  }
  if(count % 2 == 0){
     console.log("YES");
     }else{
     console.log("NO");
     }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
