
import java.util.*

fun main(args: Array<String>) {
    val scanner=Scanner(System.`in`)
    val n=scanner.nextLong()
    val Ak=ArrayList<Long>()
    (1..n).forEach { Ak.add(scanner.nextLong()) }
//    println(Ak)
     val kisuu= Ak.filter { it%2L==1L }.size
    if(kisuu%2==0){
        println("YES")
    }else{
        println("NO")
    }
}