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

public class Main {

	static Scanner in = new Scanner(System.in);

	public static void main(String[] args) {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	static Scanner in = new Scanner(System.in);

	public static void main(String[] args) {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	}
} Main static Scanner in = new Scanner(System.in); in new Scanner(System.in) public static void main(String[] args) {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	} main {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	} int N = in.nextInt(); N in.nextInt() in.nextInt in int[] L = new int[N]; L new int[N] N for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			L[i] = in.nextInt();
		} {
			L[i] = in.nextInt();
		} L[i] = in.nextInt() L[i] L i in.nextInt() in.nextInt in int max = Arrays.stream(L).max().getAsInt(); max Arrays.stream(L).max().getAsInt() Arrays.stream(L).max().getAsInt Arrays.stream(L).max() Arrays.stream(L).max Arrays.stream(L) Arrays.stream Arrays L int sum = Arrays.stream(L).sum(); sum Arrays.stream(L).sum() Arrays.stream(L).sum Arrays.stream(L) Arrays.stream Arrays L String ans = max < (sum - max) ? "Yes" : "No"; ans max < (sum - max) ? "Yes" : "No" max < (sum - max) max (sum - max) sum max "Yes" "No" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	static Scanner in = new Scanner(System.in);

	public static void main(String[] args) {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	}
} public class Main {

	static Scanner in = new Scanner(System.in);

	public static void main(String[] args) {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	}
} Main

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

public class Main {

	static Scanner in = new Scanner(System.in);

	public static void main(String[] args) {
		int N = in.nextInt();
		int[] L = new int[N];
		for (int i = 0; i < N; i++) {
			L[i] = in.nextInt();
		}
		int max = Arrays.stream(L).max().getAsInt();
		int sum = Arrays.stream(L).sum();
		String ans = max < (sum - max) ? "Yes" : "No";
		System.out.println(ans);
	}
}
