import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	}
	
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	}
	
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	} main {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int longest=0; longest 0 int sum=0; sum 0 for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		} {
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		} int length = Integer.parseInt(sc.next()); length Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(length > longest) longest = length; length > longest length longest longest = length longest length sum += length sum length int other_sum_length = sum - longest; other_sum_length sum - longest sum longest if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		} other_sum_length > longest other_sum_length longest {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	}
	
} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	}
	
} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		//ARC004
		//https://arc004.contest.atcoder.jp/tasks/arc004_1
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int N = Integer.parseInt(sc.next());
		int longest=0;
		int sum=0;
		for(int i=0;i<N;i++){
			int length = Integer.parseInt(sc.next());
			if(length > longest) longest = length;
			sum += length;
		}
		int other_sum_length = sum - longest;
		if(other_sum_length > longest){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	
	}
	
}
