import java.util.*;

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

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