import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    }
} Main public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    } main {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    } Scanner reader = new Scanner(System.in); reader new Scanner(System.in) int n = reader.nextInt(); n reader.nextInt() reader.nextInt reader int sum = 0; sum 0 int max = 0; max 0 for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        } int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        } {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        } int length = reader.nextInt(); length reader.nextInt() reader.nextInt reader sum += length sum length if (length > max)
                max = length; length > max length max max = length max length reader.close() reader.close reader System.out.println(sum - max > max ? "Yes" : "No") System.out.println System.out System System.out sum - max > max ? "Yes" : "No" sum - max > max sum - max sum max max "Yes" "No" String[] args args public class Main {

    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    }
} public class Main {

    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int sum = 0;
        int max = 0;
        for (int i = 0; i < n; ++i) {
            int length = reader.nextInt();
            sum += length;
            if (length > max)
                max = length;
        }
        reader.close();
        System.out.println(sum - max > max ? "Yes" : "No");
    }
}