object Main extends App {
    var a = readInt
    var num = readLine
    var max = 0
    var sum = num.split(" ")(0).toInt
    for {var j <- 1 to a - 1}
    sum = sum + num.split(" ")(j).toInt
    if (max < num.split(" ")(j).toInt)
		max = num.split(" ")(j).toInt
    if (max < sum - max) {
		println("Yes")
	} else {
		println("No")
  }
}