import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;
import java.util.Comparator;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        }

    }
}
 import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util import java.util.Comparator; Comparator java.util public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    } InputStream inputStream = System.in; inputStream System.in System System.in OutputStream outputStream = System.out; outputStream System.out System System.out Scanner in = new Scanner(inputStream); in new Scanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) B solver = new B(); solver new B() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        }

    } B public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        } solve {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        } int n = Integer.parseInt(in.next()); n Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in Integer l[] = new Integer[n]; l new Integer[n] n int tmp = 0; tmp 0 for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            } {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            } l[i] = Integer.parseInt(in.next()) l[i] l i Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in tmp += l[i] tmp l[i] l i Arrays.sort(l, Comparator.reverseOrder()) Arrays.sort Arrays l Comparator.reverseOrder() Comparator.reverseOrder Comparator if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            } tmp - l[0] > l[0] tmp - l[0] tmp l[0] l 0 l[0] l 0 {
                out.println("Yes");
            } out.println("Yes") out.println out "Yes" {
                out.println("No");

            } out.println("No") out.println out "No" int testNumber testNumber Scanner in in PrintWriter out out public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        }

    }
} public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;
import java.util.Comparator;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int n = Integer.parseInt(in.next());
            Integer l[] = new Integer[n];
            int tmp = 0;
            for (int i = 0; i < n; i++) {
                l[i] = Integer.parseInt(in.next());
                tmp += l[i];
            }

            Arrays.sort(l, Comparator.reverseOrder());

            if (tmp - l[0] > l[0]) {
                out.println("Yes");
            } else {
                out.println("No");

            }

        }

    }
}

