#include<cstdio>
#include<cstring>
#include<iostream>

using namespace std;

int a[1000010];long long mx=0,sm=0;
int main()
{
    int n;scanf("%d",&n);
    for (int i=1;i<=n;i++) scanf("%d",&a[i]),mx=max(mx,(long long)a[i]),sm+=a[i];
    if (mx<sm-mx) puts("Yes");
    else puts("No");
}
