function Main(input) {
    var strs = input.split("\n");
    var N = Number(strs[0]);
    hen = strs[1].split(" ");
    answer = 'No';
    for(i = 0; i < N; i++){
        hen[i] = Number(hen[i]);
    }
    hen.sort((a,b) => {
        if(a<b) return -1;
        if(a>b) return 1;
        return 0;
    });
    saidai = hen[N-1];
    hikaku = 0;
    for(i = N-2; i >= 0; i--){
        hikaku+=hen[i];
    }
    if(saidai<hikaku) answer = 'Yes';
    console.log(answer)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
