
object MainKt {
  @JvmStatic fun main(args:Array<String>) {
    val N=readLine()!!.toInt()
    val A=readLine()!!.split(" ").map {it.toInt()}

    val Odd=A.filter {it % 2==1}
    // println(N)
    // println(A)
    println(if(Odd.size % 2 == 0) {"YES"} else {"NO"}) 
  }
}
