import java.util.Scanner

/**
 * Created by sonetsuyoshi on 2015/12/16.
 */

object Main extends App {
  val sc = new Scanner(System.in)
  val n = sc.nextInt
  val a = for(i <- 0 until n) yield sc.nextInt()
  val c = a.count(_ % 2 == 1)
  if(c % 2 == 0) println("YES")
  else println("NO");
}