function main(input) {
    const args = input.split('\n');
    const N = parseInt(args[0], 10);

    var flows = args[1].split(' ');

    var ans = 'No';
    var max = 0;

    for (var i = 0; i < N; i++) {
        flows[i] = parseInt(flows[i]);
        if(max < flows[i]) {
            max = flows[i];
        }
    }

    var sum = 0;

    max_flag = true;

    for (var i = 0; i < N; i++) {
        if (max === flows[i] && max_flag === true) {
            // 何もしない
            max_flag = false;
        } else {
            sum += flows[i];
        }
    }

    if(max < sum) {
        ans = 'Yes';
    }

    console.log(ans);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));