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