import java.util.Scanner

object Main extends App {

  val sc = new Scanner(System.in)

  val n = sc.nextInt

  val al = Seq.fill(n)(sc.nextInt)

  val oddCnt = al.count(_ % 2 != 0)

  val res = if(oddCnt % 2 == 0) "YES" else "NO"

  println(res)


}
