import java.util.Scanner;
public   class Main {
    
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	}
} import java.util.Scanner; Scanner java.util public   class Main {
    
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	}
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int le[]=new int[n]; le new int[n] n int max_length=0; max_length 0 int max_number=-1; max_number -1 1 int sum=0; sum 0 for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		} {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		} le[i]=sc.nextInt() le[i] le i sc.nextInt() sc.nextInt sc sum+=le[i] sum le[i] le i if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			} le[i]>max_length le[i] le i max_length {
				max_length=le[i];
				max_number=i;
			} max_length=le[i] max_length le[i] le i max_number=i max_number i sum-=max_length sum max_length System.out.println(sum>max_length?"Yes":"No") System.out.println System.out System System.out sum>max_length?"Yes":"No" sum>max_length sum max_length "Yes" "No" String[] args args public   class Main {
    
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	}
} public   class Main {
    
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	}
} Main
import java.util.Scanner;
public   class Main {
    
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int le[]=new int[n];
		int max_length=0;
		int max_number=-1;
		int sum=0;
		for (int i = 0; i < n; i++) {
			le[i]=sc.nextInt();
			sum+=le[i];
			if(le[i]>max_length) {
				max_length=le[i];
				max_number=i;
			}
		}
		sum-=max_length;
		System.out.println(sum>max_length?"Yes":"No");
		
	}
}