
fun main(args:Array<String>) {
    val N = readLine()!!.toInt()
    val Larr = readLine()!!.split(" ").map(String::toInt)
    assert(Larr.size == N)
    (if (Larr.fold(0) {sum,ele -> sum + ele} - 2*Larr.max()!! > 0){"Yes"} else {"No"}).run(::println)
}
 