import java.util.Scanner;

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

		int n = sc.nextInt();

		int max = 0;

		int sum = 0;

		for (int i = 0; i < n; i++) {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		}

		sum -= max;

		if (sum <= max) {

			System.out.println("No");

		} else {

			System.out.println("Yes");
		}


		sc.close();
	}

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

		int n = sc.nextInt();

		int max = 0;

		int sum = 0;

		for (int i = 0; i < n; i++) {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		}

		sum -= max;

		if (sum <= max) {

			System.out.println("No");

		} else {

			System.out.println("Yes");
		}


		sc.close();
	}

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

		int n = sc.nextInt();

		int max = 0;

		int sum = 0;

		for (int i = 0; i < n; i++) {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		}

		sum -= max;

		if (sum <= max) {

			System.out.println("No");

		} else {

			System.out.println("Yes");
		}


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

		int n = sc.nextInt();

		int max = 0;

		int sum = 0;

		for (int i = 0; i < n; i++) {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		}

		sum -= max;

		if (sum <= max) {

			System.out.println("No");

		} else {

			System.out.println("Yes");
		}


		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int max = 0; max 0 int sum = 0; sum 0 for (int i = 0; i < n; i++) {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		} {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		} int l = sc.nextInt(); l sc.nextInt() sc.nextInt sc if (l > max) {
				max = l;
			} l > max l max {
				max = l;
			} max = l max l sum += l sum l sum -= max sum max if (sum <= max) {

			System.out.println("No");

		} else {

			System.out.println("Yes");
		} sum <= max sum max {

			System.out.println("No");

		} System.out.println("No") System.out.println System.out System System.out "No" {

			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" sc.close() sc.close sc String[] args args
import java.util.Scanner;

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

		int n = sc.nextInt();

		int max = 0;

		int sum = 0;

		for (int i = 0; i < n; i++) {

			int l = sc.nextInt();

			if (l > max) {
				max = l;
			}

			sum += l;

		}

		sum -= max;

		if (sum <= max) {

			System.out.println("No");

		} else {

			System.out.println("Yes");
		}


		sc.close();
	}

}
