fun main(args: Array<String>){
    val n = readLine()!!.toInt()
    val l = readLine()!!.split(" ").map(String::toInt)
    val max = l.max()!!
    if(max < l.sum() - max) println("Yes") else println("No")
}