import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[]a = new int [n]; a new int [n] n int sum = 0; sum 0 for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		} int i= 0; int i= 0; i 0 i < n i n i++ i++ i {
			a[i] = sc.nextInt();
			sum += a[i];
		} {
			a[i] = sc.nextInt();
			sum += a[i];
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sum += a[i] sum a[i] a i Arrays.parallelSort(a) Arrays.parallelSort Arrays a sum -= a[n-1] sum a[n-1] a n-1 n 1 if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No"); sum > a[n-1] sum a[n-1] a n-1 n 1 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) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	}

} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[]a = new int [n];
		int sum = 0;
		for(int i= 0; i < n ; i++) {
			a[i] = sc.nextInt();
			sum += a[i];
		}
		Arrays.parallelSort(a);
		sum -= a[n-1];
		
		if (sum > a[n-1])
			System.out.println("Yes");
		else
			System.out.println("No");

	}

}
