import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {

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

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

        System.out.println(max*2 < sum ? "Yes" : "No");
    }
} import java.util.Scanner; Scanner java.util import java.util.stream.IntStream; IntStream java.util.stream public class Main {

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

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

        System.out.println(max*2 < sum ? "Yes" : "No");
    }
} Main public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

        System.out.println(max*2 < sum ? "Yes" : "No");
    } main {
        final Scanner sc = new Scanner(System.in);

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

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

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

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

        System.out.println(max*2 < sum ? "Yes" : "No");
    }
} public class Main {

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

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

        System.out.println(max*2 < sum ? "Yes" : "No");
    }
} Main
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {

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

        final int N = sc.nextInt();
        int sum = 0;
        int max = Integer.MIN_VALUE;
        for (int i = 0; i < N; i++) {
            final int L = sc.nextInt();
            max = Math.max(max, L);
            sum += L;
        }

        System.out.println(max*2 < sum ? "Yes" : "No");
    }
}
