
import java.util.*
fun main(args: Array<String>){
	val cin = Scanner(System.`in`)
    val n = cin.nextInt()

    var odd = 0
    for (i in 1..n) {
        val a = cin.nextInt()
        if (a % 2 == 1) {
            odd += 1
        }
    }
    if (odd % 2 == 0) {
        println("YES")
    } else {
        println("NO")
    }
}