
import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	}
} import java.io.StringReader; StringReader java.io import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	} main {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int [] n = new int [N]; n new int [N] N for(int i = 0;i < N;i++)    n[i] = sc.nextInt(); int i = 0; int i = 0; i 0 i < N i N i++ i++ i n[i] = sc.nextInt(); n[i] = sc.nextInt() n[i] n i sc.nextInt() sc.nextInt sc int max = 0; max 0 int sum =0; sum 0 for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		} int i=0; int i=0; i 0 i<n.length i n.length n n.length i++ i++ i {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		} {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		} if(n[i]>max) {
				max=n[i];
			} n[i]>max n[i] n i max {
				max=n[i];
			} max=n[i] max n[i] n i sum += n[i] sum n[i] n i if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		} max<(sum-max) max (sum-max) sum max {
			System.out.print("Yes");
		} System.out.print("Yes") System.out.print System.out System System.out "Yes" {
			System.out.print("No");
		} System.out.print("No") System.out.print System.out System System.out "No" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	}
} Main

import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] n = new int [N];
		for(int i = 0;i < N;i++)    n[i] = sc.nextInt();
		int max = 0;
		int sum =0;

		for (int i=0;i<n.length;i++) {
			if(n[i]>max) {
				max=n[i];
			}
			sum += n[i];
		}
		if(max<(sum-max)) {
			System.out.print("Yes");
		}else {
			System.out.print("No");
		}

	}
}
