#include<iostream>
using namespace std;

int main(){
    int num;
    cin >> num;
    int sum = 0, max = 0;
    for (int i = 0; i < num;i++){
        int k;
        cin >> k;
        if (k <= max)
            sum += k;
        else{
            sum += max;
            max = k;
        }
    }
    if (sum > max)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
    return 0;
}