"use strict";    
const main = arg => {
  	const Nums = arg.split("\n")[1].split(" ");
  	let ans = 'NO';
  	let Sum = Nums.reduce((prev, current) => {
        return prev*1+current*1;
    });
  
	Sum % 2 ? '': ans = 'YES';
  
  	console.log(ans);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
