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