import java.util.*;

public class Main {

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

	public void execute() {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] Ls = new int [N];
		int sum = 0;
		for(int i=0; i<N; i++) {
			Ls[i] = sc.nextInt();
			sum += Ls[i];
		}
		Arrays.sort(Ls);
		if(Ls[N-1] < (sum - Ls[N-1]) ) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
		
		sc.close();
	}
} import java.util.*; util.* java public class Main {

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

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

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

	public void execute() {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] Ls = new int [N];
		int sum = 0;
		for(int i=0; i<N; i++) {
			Ls[i] = sc.nextInt();
			sum += Ls[i];
		}
		Arrays.sort(Ls);
		if(Ls[N-1] < (sum - Ls[N-1]) ) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
		
		sc.close();
	}
} public class Main {

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

	public void execute() {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] Ls = new int [N];
		int sum = 0;
		for(int i=0; i<N; i++) {
			Ls[i] = sc.nextInt();
			sum += Ls[i];
		}
		Arrays.sort(Ls);
		if(Ls[N-1] < (sum - Ls[N-1]) ) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
		
		sc.close();
	}
} Main
import java.util.*;

public class Main {

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

	public void execute() {
		Scanner sc = new Scanner(System.in);
		final int N = sc.nextInt();
		int [] Ls = new int [N];
		int sum = 0;
		for(int i=0; i<N; i++) {
			Ls[i] = sc.nextInt();
			sum += Ls[i];
		}
		Arrays.sort(Ls);
		if(Ls[N-1] < (sum - Ls[N-1]) ) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
		
		sc.close();
	}
}