import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	} main {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc long length[] = new long[num]; length new long[num] num long max = 0; max 0 long sum = 0; sum 0 for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		} int i = 0; int i = 0; i 0 i < num i num i ++ i ++ i {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		} {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		} length[i] = sc.nextInt() length[i] length i sc.nextInt() sc.nextInt sc max = Math.max(max, length[i]) max Math.max(max, length[i]) Math.max Math max length[i] length i sum += length[i] sum length[i] length i sum -= max sum max boolean canDraw = max < sum; canDraw max < sum max sum System.out.println(canDraw ? "Yes" : "No") System.out.println System.out System System.out canDraw ? "Yes" : "No" canDraw "Yes" "No" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		long length[] = new long[num];
		long max = 0;
		long sum = 0;
		for(int i = 0; i < num; i ++) {
			length[i] = sc.nextInt();
			max = Math.max(max, length[i]);
			sum += length[i];
		}
		sum -= max;
		boolean canDraw = max < sum;
		System.out.println(canDraw ? "Yes" : "No");
	}
}