import java.util.Arrays;
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];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "Yes" : "No");

        sc.close();
    }

    static boolean solve(int[] L) {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    }
} import java.util.Arrays; Arrays java.util 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];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "Yes" : "No");

        sc.close();
    }

    static boolean solve(int[] L) {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] L = new int[N];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "Yes" : "No");

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] L = new int[N];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "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 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 System.out.println(solve(L) ? "Yes" : "No") System.out.println System.out System System.out solve(L) ? "Yes" : "No" solve(L) solve L "Yes" "No" sc.close() sc.close sc String[] args args static boolean solve(int[] L) {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    } solve {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    } return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum(); Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum() Arrays.stream(L).max().getAsInt() * 2 Arrays.stream(L).max().getAsInt() Arrays.stream(L).max().getAsInt Arrays.stream(L).max() Arrays.stream(L).max Arrays.stream(L) Arrays.stream Arrays L 2 Arrays.stream(L).sum() Arrays.stream(L).sum Arrays.stream(L) Arrays.stream Arrays L int[] L L public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] L = new int[N];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "Yes" : "No");

        sc.close();
    }

    static boolean solve(int[] L) {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] L = new int[N];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "Yes" : "No");

        sc.close();
    }

    static boolean solve(int[] L) {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    }
} Main
import java.util.Arrays;
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];
        for (int i = 0; i < L.length; ++i) {
            L[i] = sc.nextInt();
        }

        System.out.println(solve(L) ? "Yes" : "No");

        sc.close();
    }

    static boolean solve(int[] L) {
        return Arrays.stream(L).max().getAsInt() * 2 < Arrays.stream(L).sum();
    }
}