import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc ArrayList<Integer> l = new ArrayList<>(); l new ArrayList<>() int sum = 0; sum 0 int num; num for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		} {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		} num = sc.nextInt() num sc.nextInt() sc.nextInt sc l.add(num) l.add l num sum += num sum num if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		} sum > Collections.max(l) * 2 sum Collections.max(l) * 2 Collections.max(l) Collections.max Collections l 2 {
			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 n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			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 n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> l = new ArrayList<>();
		int sum = 0;
		int num;
		for(int i = 0; i < n; i++) {
			num = sc.nextInt();
			l.add(num);
			sum += num;
		}
		if(sum > Collections.max(l) * 2) {
			System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	}
}