import java.util.Scanner;
public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    }
} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    } main {
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int tmp = 0; tmp 0 int max = 0; max 0 int sum = 0; sum 0 for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	} {
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	} tmp = sc.nextInt() tmp sc.nextInt() sc.nextInt sc if (tmp > max){
    			max = tmp;
    		} tmp > max tmp max {
    			max = tmp;
    		} max = tmp max tmp sum += tmp sum tmp String ans =""; ans "" if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	} max < (sum - max) max (sum - max) sum max {
    		ans = "Yes";
    	} ans = "Yes" ans "Yes" {
    		ans = "No";
    	} ans = "No" ans "No" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    }
} public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    }
} Main
import java.util.Scanner;
public class Main {

    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	// 入力
    	int n = sc.nextInt();
    	//String l = sc.next();
    	//int arg[] = new int[n];
    	int tmp = 0;
    	int max = 0;
    	int sum = 0;

    	for(int i = 0; i < n; i++){
    		//arg[n] = sc.nextInt();
    		tmp = sc.nextInt();
    		if (tmp > max){
    			max = tmp;
    		}
    		sum += tmp;

    	}

    	String ans ="";
    	if(max < (sum - max)){
    		ans = "Yes";
    	} else {
    		ans = "No";
    	}
    	// 出力
    	System.out.println(ans);
    }
}