import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	}
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	} main {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	} int sum = 0; sum 0 Scanner sc = new Scanner (System.in); sc new Scanner (System.in) int[] a = new int[sc.nextInt()]; a new int[sc.nextInt()] sc.nextInt() sc.nextInt sc for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
			a[i] = sc.nextInt();
		} {
			a[i] = sc.nextInt();
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc Arrays.sort(a) Arrays.sort Arrays a for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		} int i = 0; int i = 0; i 0 i < a.length - 1 i a.length - 1 a.length a a.length 1 i++ i++ i {
			sum = sum + a[i];
		} {
			sum = sum + a[i];
		} sum = sum + a[i] sum sum + a[i] sum a[i] a i if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		} a[a.length - 1] >= sum a[a.length - 1] a a.length - 1 a.length a a.length 1 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) {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	}
} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

		int sum = 0;
		
		Scanner sc = new Scanner (System.in);
		int[] a = new int[sc.nextInt()]; 
		
		for(int i = 0; i < a.length; i++)
		{
			a[i] = sc.nextInt();
		}
		
		Arrays.sort(a);
		
		for(int i = 0; i < a.length - 1; i++)
		{
			sum = sum + a[i];
		}
		
		if(a[a.length - 1] >= sum){
			System.out.println("No");
		} else 
		{
			System.out.println("Yes");
		}
		
	}
}
