import java.util.Scanner;



public class Main {


	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {


	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int max = 0; max 0 int sum = 0; sum 0 int a = Integer.parseInt(sc.nextLine()); a Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		} sc.hasNext() sc.hasNext sc {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		} int i = Integer.parseInt(sc.next()); i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc max = Math.max(max, i) max Math.max(max, i) Math.max Math max i sum += i sum i int sum2 = sum - max; sum2 sum - max sum max if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} max < sum2 max sum2 {
			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 max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			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 max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} Main
import java.util.Scanner;



public class Main {


	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		int a = Integer.parseInt(sc.nextLine());
		while(sc.hasNext()) {
			int i = Integer.parseInt(sc.next());
			max = Math.max(max, i);
			sum += i;
		}
		int sum2 = sum - max;
		if(max < sum2) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
}
