import java.util.*;

public class Main {
	public static void main(String[] args) {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	}
} Main public static void main(String[] args) {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	} main {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	} try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		} Exception e {
			System.out.println("Exception thrown : " + e);
		} System.out.println("Exception thrown : " + e) System.out.println System.out System System.out "Exception thrown : " + e "Exception thrown : " e {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner List<Integer> lengthList = new ArrayList<Integer>(); lengthList new ArrayList<Integer>() int counter = 0; counter 0 for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				lengthList.add(scanner.nextInt());
			} {
				lengthList.add(scanner.nextInt());
			} lengthList.add(scanner.nextInt()) lengthList.add lengthList scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner int longestLength = Collections.max(lengthList); longestLength Collections.max(lengthList) Collections.max Collections lengthList for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			} int length lengthList {
				counter++;
				if (length == longestLength) {
					break;
				}
			} {
				counter++;
				if (length == longestLength) {
					break;
				}
			} counter++ counter if (length == longestLength) {
					break;
				} length == longestLength length longestLength {
					break;
				} break; lengthList.remove(counter - 1) lengthList.remove lengthList counter - 1 counter 1 int sum = 0; sum 0 for (int remainLengths : lengthList) {
				sum += remainLengths;
			} int remainLengths lengthList {
				sum += remainLengths;
			} {
				sum += remainLengths;
			} sum += remainLengths sum remainLengths if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			} longestLength < sum longestLength 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" String[] args args public class Main {
	public static void main(String[] args) {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	}
} public class Main {
	public static void main(String[] args) {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {

		try {

			Scanner scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			List<Integer> lengthList = new ArrayList<Integer>();
			int counter = 0;


			for (int i = 0; i < n; i++) {
				lengthList.add(scanner.nextInt());
			}
			scanner.close();

			int longestLength = Collections.max(lengthList);
			for (int length : lengthList) {
				counter++;
				if (length == longestLength) {
					break;
				}
			}

			lengthList.remove(counter - 1);

			int sum = 0;
			for (int remainLengths : lengthList) {
				sum += remainLengths;
			}

			if (longestLength < sum) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}

		} catch(Exception e) {
			System.out.println("Exception thrown : " + e);
		}
	}
}