import java.io.InputStream;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} import java.io.InputStream; InputStream java.io import java.io.PrintStream; PrintStream java.io import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main InputStream in = System.in; in System.in System System.in PrintStream out = System.out; out System.out System System.out public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	} _main {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	} Scanner sc = new Scanner(in); sc new Scanner(in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] L = new int[N]; L new int[N] N for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			L[i] = sc.nextInt();
		} {
			L[i] = sc.nextInt();
		} L[i] = sc.nextInt() L[i] L i sc.nextInt() sc.nextInt sc Arrays.sort(L) Arrays.sort Arrays L int sum = 0; sum 0 for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		} int i=0; int i=0; i 0 i<L.length-1 i L.length-1 L.length L L.length 1 i++ i++ i {
			sum += L[i];
		} {
			sum += L[i];
		} sum += L[i] sum L[i] L i if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		} sum > L[L.length-1] sum L[L.length-1] L L.length-1 L.length L L.length 1 {
			out.println("Yes");
		} out.println("Yes") out.println out "Yes" {
			out.println("No");
		} out.println("No") out.println out "No" sc.close() sc.close sc String[] args args public static void main(String[] args) {
		new Main()._main(args);
	} main {
		new Main()._main(args);
	} new Main()._main(args) new Main()._main new Main() args String[] args args public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] L = new int[N];

		for(int i=0;i<N;i++) {
			L[i] = sc.nextInt();
		}

		Arrays.sort(L);

		int sum = 0;
		for(int i=0;i<L.length-1;i++) {
			sum += L[i];
		}
		if(sum > L[L.length-1]) {
			out.println("Yes");
		}else {
			out.println("No");
		}

		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

}
