import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] numberBox = new int[N]; numberBox new int[N] N int sum = 0; sum 0 for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		} {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		} numberBox[i] = sc.nextInt() numberBox[i] numberBox i sc.nextInt() sc.nextInt sc sum = sum + numberBox[i] sum sum + numberBox[i] sum numberBox[i] numberBox i sc.close() sc.close sc int c = 0; c 0 for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		} int j = 0; int j = 0; j 0 j < N j N j++ j++ j {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		} {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		} if (c < numberBox[j]) {
				c = numberBox[j];
			} c < numberBox[j] c numberBox[j] numberBox j {
				c = numberBox[j];
			} c = numberBox[j] c numberBox[j] numberBox j String answer = "No"; answer "No" if (sum > (2 * c)) {
			answer = "Yes";
		} sum > (2 * c) sum (2 * c) 2 c {
			answer = "Yes";
		} answer = "Yes" answer "Yes" System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] numberBox = new int[N];
		int sum = 0;
		for (int i = 0; i < N; i++) {
			numberBox[i] = sc.nextInt();
			sum = sum + numberBox[i];
		}
		sc.close();
		int c = 0;
		for (int j = 0; j < N; j++) {
			if (c < numberBox[j]) {
				c = numberBox[j];
			}
		}
		String answer = "No";
		if (sum > (2 * c)) {
			answer = "Yes";
		}
		System.out.println(answer);
	}
}
