import java.util.*;

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

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] sides = new int[n];
		int maxp = 0;
		int sum = 0;
		String ans = "Yes";
		for( int i = 0; i < n; i++ ) {
			sides[i] = in.nextInt();
			maxp = Math.max(sides[i], maxp);
			sum += sides[i];
		}
		sum -= maxp;
		if(maxp>=sum) ans = "No";
		System.out.println(ans);
	}
}