import java.util.Scanner;

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

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int[] L = new int[N];

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int[] L = new int[N];

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int[] L = new int[N];

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] L = new int[N]; L new int[N] N int M = 0 M 0 S = 0; S 0 for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        } int i = 0; int i = 0; i 0 i < N i N ++i ++i i {
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        } {
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        } L[i] = sc.nextInt() L[i] L i sc.nextInt() sc.nextInt sc M = Math.max(M, L[i]) M Math.max(M, L[i]) Math.max Math M L[i] L i S += L[i] S L[i] L i System.out.println(2 * M < S ? "Yes" : "No") System.out.println System.out System System.out 2 * M < S ? "Yes" : "No" 2 * M < S 2 * M 2 M S "Yes" "No" sc.close() sc.close sc String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int[] L = new int[N];

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int[] L = new int[N];

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    }
} Main
import java.util.Scanner;

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

        int M = 0, S = 0;
        for (int i = 0; i < N; ++i){
            L[i] = sc.nextInt();
            M = Math.max(M, L[i]);
            S += L[i];
        }

        System.out.println(2 * M < S ? "Yes" : "No");

        sc.close();
    }
}