import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	}

}

 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] L = new int[N]; L new int[N] N int iMax = 0; iMax 0 int sum = 0; sum 0 for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		} int i = 0; int i = 0; i 0 i < L.length i L.length L L.length i++ i++ i {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		} {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		} L[i] = sc.nextInt() L[i] L i sc.nextInt() sc.nextInt sc sum += L[i] sum L[i] L i if (L[iMax] < L[i]) {
				iMax = i;
			} L[iMax] < L[i] L[iMax] L iMax L[i] L i {
				iMax = i;
			} iMax = i iMax i System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No") System.out.println System.out System System.out L[iMax] < sum - L[iMax] ? "Yes" : "No" L[iMax] < sum - L[iMax] L[iMax] L iMax sum - L[iMax] sum L[iMax] L iMax "Yes" "No" sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int[] L = new int[N];

		int iMax = 0;
		int sum = 0;
		for (int i = 0; i < L.length; i++) {
			L[i] = sc.nextInt();
			sum += L[i];
			if (L[iMax] < L[i]) {
				iMax = i;
			}
		}

		System.out.println(L[iMax] < sum - L[iMax] ? "Yes" : "No");

		sc.close();
	}

}


