import java.util.Scanner;

public class Main {
	static int N;
	static int[] L = new int[10];
	
	static int max = 0, sum = 0;
	
	static Scanner scanner = new Scanner(System.in);
	
	public static void main(String args[]) {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	}
	
	static void Input() {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	}
	static void Findmax() {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	}
	static void Sumothers() {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	}
	static void Compare() {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	}
	
} import java.util.Scanner; Scanner java.util public class Main {
	static int N;
	static int[] L = new int[10];
	
	static int max = 0, sum = 0;
	
	static Scanner scanner = new Scanner(System.in);
	
	public static void main(String args[]) {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	}
	
	static void Input() {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	}
	static void Findmax() {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	}
	static void Sumothers() {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	}
	static void Compare() {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	}
	
} Main static int N; N static int[] L = new int[10]; L new int[10] 10 static int max = 0 max 0 sum = 0; sum 0 static Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) public static void main(String args[]) {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	} main {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	} Input() Input Findmax() Findmax Sumothers() Sumothers Compare() Compare return; String args[] args static void Input() {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	} Input {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	} N = scanner.nextInt() N scanner.nextInt() scanner.nextInt scanner for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			L[i] = scanner.nextInt();
		} {
			L[i] = scanner.nextInt();
		} L[i] = scanner.nextInt() L[i] L i scanner.nextInt() scanner.nextInt scanner return; static void Findmax() {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	} Findmax {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	} for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			if(max < L[i])max = L[i];
		} {
			if(max < L[i])max = L[i];
		} if(max < L[i])max = L[i]; max < L[i] max L[i] L i max = L[i] max L[i] L i return; static void Sumothers() {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	} Sumothers {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	} for(int i=0; i<N; i++) {
			sum += L[i];
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			sum += L[i];
		} {
			sum += L[i];
		} sum += L[i] sum L[i] L i sum -= max sum max return; static void Compare() {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	} Compare {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	} if(max < sum)System.out.print("Yes");
		else System.out.print("No"); max < sum max sum System.out.print("Yes") System.out.print System.out System System.out "Yes" System.out.print("No") System.out.print System.out System System.out "No" public class Main {
	static int N;
	static int[] L = new int[10];
	
	static int max = 0, sum = 0;
	
	static Scanner scanner = new Scanner(System.in);
	
	public static void main(String args[]) {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	}
	
	static void Input() {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	}
	static void Findmax() {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	}
	static void Sumothers() {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	}
	static void Compare() {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	}
	
} public class Main {
	static int N;
	static int[] L = new int[10];
	
	static int max = 0, sum = 0;
	
	static Scanner scanner = new Scanner(System.in);
	
	public static void main(String args[]) {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	}
	
	static void Input() {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	}
	static void Findmax() {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	}
	static void Sumothers() {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	}
	static void Compare() {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	}
	
} Main
import java.util.Scanner;

public class Main {
	static int N;
	static int[] L = new int[10];
	
	static int max = 0, sum = 0;
	
	static Scanner scanner = new Scanner(System.in);
	
	public static void main(String args[]) {
		Input();
		Findmax();
		Sumothers();
		Compare();
		
		return;
	}
	
	static void Input() {
		N = scanner.nextInt();
		for(int i=0; i<N; i++) {
			L[i] = scanner.nextInt();
		}
		return;
	}
	static void Findmax() {
		for(int i=0; i<N; i++) {
			if(max < L[i])max = L[i];
		}
		return;
	}
	static void Sumothers() {
		for(int i=0; i<N; i++) {
			sum += L[i];
		}
		sum -= max;
		return;
	}
	static void Compare() {
		if(max < sum)System.out.print("Yes");
		else System.out.print("No");
	}
	
}
