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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	}
} 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);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	} main {
		Scanner sc = new Scanner(System.in);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long  T T X; X long max=0; max 0 long sum=0; sum 0 T = sc.nextInt() T sc.nextInt() sc.nextInt sc for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		} int i=0; int i=0; i 0 i<T i T i++ i++ i {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		} {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		} X = sc.nextInt() X sc.nextInt() sc.nextInt sc if(X>max)max=X; X>max X max max=X max X sum=sum+X sum sum+X sum X if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		} max>=(sum-max) max (sum-max) sum max {System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" {System.out.println("Yes");
			
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	}
} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long  T,X;
		long max=0;
		long sum=0;
		T = sc.nextInt();
		for(int i=0;i<T;i++) {
		X = sc.nextInt();
		if(X>max)max=X;
		sum=sum+X;
		}
		if(max>=(sum-max)){System.out.println("No");
		}else {System.out.println("Yes");
			
		}
		
	}
}
