import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int n = reader.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	}
} import java.util.ArrayList; ArrayList java.util 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();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	}
} Main public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int n = reader.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	} main {
		Scanner reader = new Scanner(System.in);
		int n = reader.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	} Scanner reader = new Scanner(System.in); reader new Scanner(System.in) int n = reader.nextInt(); n reader.nextInt() reader.nextInt reader ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		} reader.hasNextInt() reader.hasNextInt reader {
			list.add(reader.nextInt());
		} list.add(reader.nextInt()) list.add list reader.nextInt() reader.nextInt reader String result = "No"; result "No" if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		} !(list.size() != n || n < 3 || 10 < n) (list.size() != n || n < 3 || 10 < n) list.size() != n || n < 3 || 10 < n list.size() != n list.size() list.size list n n < 3 n 3 10 < n 10 n {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		} int largest = list.get(0); largest list.get(0) list.get list 0 int index = 0; index 0 for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			} int i = 1; int i = 1; i 1 i < list.size() i list.size() list.size list i++ i++ i {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			} {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			} if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				} largest < list.get(i) largest list.get(i) list.get list i {
					largest = list.get(i);
					index = i;
				} largest = list.get(i) largest list.get(i) list.get list i index = i index i int sum = 0; sum 0 for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			} int j = 0; int j = 0; j 0 j < list.size() j list.size() list.size list j++ j++ j {
				if (index != j) {
					sum += list.get(j);
				}
			} {
				if (index != j) {
					sum += list.get(j);
				}
			} if (index != j) {
					sum += list.get(j);
				} index != j index j {
					sum += list.get(j);
				} sum += list.get(j) sum list.get(j) list.get list j if (largest < sum) {
				result = "Yes";
			} largest < sum largest sum {
				result = "Yes";
			} result = "Yes" result "Yes" System.out.print(result) System.out.print System.out System System.out result reader.close() reader.close reader String[] args args public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int n = reader.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int n = reader.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	}
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int n = reader.nextInt();
		ArrayList<Integer> list = new ArrayList<Integer>();
		while (reader.hasNextInt()) {
			list.add(reader.nextInt());
		}
		String result = "No";

		if (!(list.size() != n || n < 3 || 10 < n)) {
			int largest = list.get(0);
			int index = 0;
			for (int i = 1; i < list.size(); i++) {
				if (largest < list.get(i)) {
					largest = list.get(i);
					index = i;
				}
			}
			int sum = 0;
			for (int j = 0; j < list.size(); j++) {
				if (index != j) {
					sum += list.get(j);
				}
			}
			if (largest < sum) {
				result = "Yes";
			}
		}

		System.out.print(result);
		reader.close();
	}
}
