import java.util.*;
import static java.lang.Math.*;

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

		// 入力
		int n = sc.nextInt();//
		int[] l = new int[n]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	}

}

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

		// 入力
		int n = sc.nextInt();//
		int[] l = new int[n]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	}

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

		// 入力
		int n = sc.nextInt();//
		int[] l = new int[n]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	} main {
		Scanner sc = new Scanner(System.in);

		// 入力
		int n = sc.nextInt();//
		int[] l = new int[n]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	} 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 for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			l[i] = sc.nextInt();
		} {
			l[i] = sc.nextInt();
		} l[i] = sc.nextInt() l[i] l i sc.nextInt() sc.nextInt sc int maxL = 0; maxL 0 int theL = -1; theL -1 1 for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		} {
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		} if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			} maxL < l[i] maxL l[i] l i {
				maxL = l[i];
				theL = i;
			} maxL = l[i] maxL l[i] l i theL = i theL i int sum = 0; sum 0 for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			if(theL != i){
				sum = sum + l[i];
			}
		} {
			if(theL != i){
				sum = sum + l[i];
			}
		} if(theL != i){
				sum = sum + l[i];
			} theL != i theL i {
				sum = sum + l[i];
			} sum = sum + l[i] sum sum + l[i] sum l[i] l i String result = "No"; result "No" if(maxL < sum) result = "Yes"; maxL < sum maxL sum result = "Yes" result "Yes" System.out.println(result) System.out.println System.out System System.out result 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]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	}

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

		// 入力
		int n = sc.nextInt();//
		int[] l = new int[n]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	}

} Main
import java.util.*;
import static java.lang.Math.*;

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

		// 入力
		int n = sc.nextInt();//
		int[] l = new int[n]; 
		for(int i = 0; i < n; i++){
			l[i] = sc.nextInt();
		}

		int maxL = 0;
		int theL = -1;
		for(int i = 0; i < n; i++){
			if(maxL < l[i]){
				maxL = l[i];
				theL = i;
			}
		}

		int sum = 0;
		for(int i = 0; i < n; i++){
			if(theL != i){
				sum = sum + l[i];
			}
		}		

		String result = "No";
		if(maxL < sum) result = "Yes";

		// 出力
		System.out.println(result);
	}

}


