import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	}
} import java.util.Arrays; Arrays java.util import java.util.Comparator; Comparator java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc Integer[] l = new Integer[n]; l new Integer[n] n for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		} int i = 0; int i = 0; i 0 i < l.length i l.length l l.length i++ i++ i {
			l[i] = Integer.parseInt(sc.next());
		} {
			l[i] = Integer.parseInt(sc.next());
		} l[i] = Integer.parseInt(sc.next()) l[i] l i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc Arrays.sort(l, Comparator.reverseOrder()) Arrays.sort Arrays l Comparator.reverseOrder() Comparator.reverseOrder Comparator int sum = 0; sum 0 for (int i = 1; i < l.length; i++) {
			sum += l[i];
		} int i = 1; int i = 1; i 1 i < l.length i l.length l l.length i++ i++ i {
			sum += l[i];
		} {
			sum += l[i];
		} sum += l[i] sum l[i] l i if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} l[0] < sum l[0] l 0 sum {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	}
} Main
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		Integer[] l = new Integer[n];
		for (int i = 0; i < l.length; i++) {
			l[i] = Integer.parseInt(sc.next());
		}
		Arrays.sort(l, Comparator.reverseOrder());
		int sum = 0;
		for (int i = 1; i < l.length; i++) {
			sum += l[i];
		}
		if (l[0] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		sc.close();
	}
}