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

public class Main {

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

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

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

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

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

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

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] n = new int[a];

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int[] n = new int[a]; n new int[a] a for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < a i a i++ i++ i {
			n[i] = sc.nextInt();
		} {
			n[i] = sc.nextInt();
		} n[i] = sc.nextInt() n[i] n i sc.nextInt() sc.nextInt sc Arrays.sort(n) Arrays.sort Arrays n int sum = 0; sum 0 for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		} int i = 0; int i = 0; i 0 i < a - 1 i a - 1 a 1 i++ i++ i {
			sum += n[i];
		} {
			sum += n[i];
		} sum += n[i] sum n[i] n i if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} n[a - 1] < sum n[a - 1] n a - 1 a 1 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) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int[] n = new int[a];

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

} public class Main {

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

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

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

		for (int i = 0; i < a; i++) {
			n[i] = sc.nextInt();
		}
		Arrays.sort(n);
		int sum = 0;
		for (int i = 0; i < a - 1; i++) {
			sum += n[i];
		}
		if (n[a - 1] < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

}
