import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    } main {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    } Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(System.in))) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int[] l = new int[N]; l new int[N] N long sum = 0; sum 0 for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            l[i] = scan.nextInt();
            sum += l[i];
        } {
            l[i] = scan.nextInt();
            sum += l[i];
        } l[i] = scan.nextInt() l[i] l i scan.nextInt() scan.nextInt scan sum += l[i] sum l[i] l i Arrays.sort(l) Arrays.sort Arrays l boolean answer = l[N-1] < sum - l[N-1] ? true : false; answer l[N-1] < sum - l[N-1] ? true : false l[N-1] < sum - l[N-1] l[N-1] l N-1 N 1 sum - l[N-1] sum l[N-1] l N-1 N 1 true false System.out.printf(answer ? "Yes" : "No") System.out.printf System.out System System.out answer ? "Yes" : "No" answer "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int N = scan.nextInt();
        int[] l = new int[N];
        long sum = 0;
        for (int i = 0; i < N; i++) {
            l[i] = scan.nextInt();
            sum += l[i];
        }
        Arrays.sort(l);
        boolean answer = l[N-1] < sum - l[N-1] ? true : false;
        System.out.printf(answer ? "Yes" : "No");
    }
}
