import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int sum = 0;
		int max = 0;

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

		for(int i=0;i<N;i++) {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		}
		if (sum > 2*max) System.out.println("Yes");
		else System.out.println("No");
		//System.out.println(sum > 2*max);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int sum = 0;
		int max = 0;

		for(int i=0;i<N;i++) {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		}
		if (sum > 2*max) System.out.println("Yes");
		else System.out.println("No");
		//System.out.println(sum > 2*max);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int sum = 0;
		int max = 0;

		for(int i=0;i<N;i++) {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		}
		if (sum > 2*max) System.out.println("Yes");
		else System.out.println("No");
		//System.out.println(sum > 2*max);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int sum = 0; sum 0 int max = 0; max 0 for(int i=0;i<N;i++) {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		} {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		} int val = sc.nextInt(); val sc.nextInt() sc.nextInt sc if(val >= max) {
				max = val;
				//max_index = i;
			} val >= max val max {
				max = val;
				//max_index = i;
			} max = val max val sum += val sum val if (sum > 2*max) System.out.println("Yes");
		else System.out.println("No"); sum > 2*max sum 2*max 2 max System.out.println("Yes") System.out.println System.out System System.out "Yes" 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) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int sum = 0;
		int max = 0;

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

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

		for(int i=0;i<N;i++) {
			int val = sc.nextInt();
			if(val >= max) {
				max = val;
				//max_index = i;
			}
			sum += val;
		}
		if (sum > 2*max) System.out.println("Yes");
		else System.out.println("No");
		//System.out.println(sum > 2*max);
	}
}