    object Main extends App {
        var a = readInt
        var num = readLine
        var max , sum , j
        for {j <- 0 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("No")
        } else {
            println("Yes")
        }
    }