import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] len = new int[n];
        int sum = 0;
        int max = 0;
        for(int i=0;i<n;i++){
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        }
		System.out.println(max<sum-max?"Yes":"No");
	}
} import java.util.*; util.* java class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] len = new int[n];
        int sum = 0;
        int max = 0;
        for(int i=0;i<n;i++){
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        }
		System.out.println(max<sum-max?"Yes":"No");
	}
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] len = new int[n];
        int sum = 0;
        int max = 0;
        for(int i=0;i<n;i++){
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        }
		System.out.println(max<sum-max?"Yes":"No");
	} main {
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] len = new int[n];
        int sum = 0;
        int max = 0;
        for(int i=0;i<n;i++){
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        }
		System.out.println(max<sum-max?"Yes":"No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] len = new int[n]; len new int[n] n int sum = 0; sum 0 int max = 0; max 0 for(int i=0;i<n;i++){
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        } {
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        } int temp = sc.nextInt(); temp sc.nextInt() sc.nextInt sc if(temp>max){
              max = temp;
            } temp>max temp max {
              max = temp;
            } max = temp max temp sum+=temp sum temp System.out.println(max<sum-max?"Yes":"No") System.out.println System.out System System.out max<sum-max?"Yes":"No" max<sum-max max sum-max sum max "Yes" "No" String args[] args
import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] len = new int[n];
        int sum = 0;
        int max = 0;
        for(int i=0;i<n;i++){
        	int temp = sc.nextInt();
            if(temp>max){
              max = temp;
            }
            sum+=temp;
        }
		System.out.println(max<sum-max?"Yes":"No");
	}
}