fun main (args : Array<String>) {
	val n = readLine()
	val N : Int = n!!.toInt()
	val l = readLine()!!.split(" ")
	var list : MutableList<Int> = mutableListOf()
	var calc : Int = 0
	for (i in l) {
		list.add(i.toInt())
	}
	list.sort()
	for (i in 0..list.size - 2) {
		calc += list[i]
	}
	return if (list[N - 1] < calc) {
		println("Yes")
	} else {
		println("No")
	}
}