import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        Integer[] L = new Integer[n];

        for (int i = 0; i < L.length; i++) {
            L[i] = sc.nextInt();
        }
        Arrays.sort(L, Collections.reverseOrder());

        int sum = 0;
        for (int i = 1; i < L.length; i++) {
            sum += L[i];
        }
        if(L[0] < sum)  System.out.println("Yes");
        else System.out.println("No");
        
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        Integer[] L = new Integer[n];

        for (int i = 0; i < L.length; i++) {
            L[i] = sc.nextInt();
        }
        Arrays.sort(L, Collections.reverseOrder());

        int sum = 0;
        for (int i = 1; i < L.length; i++) {
            sum += L[i];
        }
        if(L[0] < sum)  System.out.println("Yes");
        else System.out.println("No");
        
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        Integer[] L = new Integer[n];

        for (int i = 0; i < L.length; i++) {
            L[i] = sc.nextInt();
        }
        Arrays.sort(L, Collections.reverseOrder());

        int sum = 0;
        for (int i = 1; i < L.length; i++) {
            sum += L[i];
        }
        if(L[0] < sum)  System.out.println("Yes");
        else System.out.println("No");
        
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        Integer[] L = new Integer[n];

        for (int i = 0; i < L.length; i++) {
            L[i] = sc.nextInt();
        }
        Arrays.sort(L, Collections.reverseOrder());

        int sum = 0;
        for (int i = 1; i < L.length; i++) {
            sum += L[i];
        }
        if(L[0] < sum)  System.out.println("Yes");
        else System.out.println("No");
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc Integer[] L = new Integer[n]; L new Integer[n] n for (int i = 0; i < L.length; i++) {
            L[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < L.length i L.length L L.length i++ i++ i {
            L[i] = sc.nextInt();
        } {
            L[i] = sc.nextInt();
        } L[i] = sc.nextInt() L[i] L i sc.nextInt() sc.nextInt sc Arrays.sort(L, Collections.reverseOrder()) Arrays.sort Arrays L Collections.reverseOrder() Collections.reverseOrder Collections int sum = 0; sum 0 for (int i = 1; i < L.length; i++) {
            sum += L[i];
        } int i = 1; int i = 1; i 1 i < L.length i L.length L L.length i++ i++ i {
            sum += L[i];
        } {
            sum += L[i];
        } sum += L[i] sum L[i] L i if(L[0] < sum)  System.out.println("Yes");
        else System.out.println("No"); L[0] < sum L[0] L 0 sum System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        Integer[] L = new Integer[n];

        for (int i = 0; i < L.length; i++) {
            L[i] = sc.nextInt();
        }
        Arrays.sort(L, Collections.reverseOrder());

        int sum = 0;
        for (int i = 1; i < L.length; i++) {
            sum += L[i];
        }
        if(L[0] < sum)  System.out.println("Yes");
        else System.out.println("No");
        
    }
}