import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Comparator; Comparator 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);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc List<Integer> L = new ArrayList<>(); L new ArrayList<>() for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			L.add(sc.nextInt());
		} {
			L.add(sc.nextInt());
		} L.add(sc.nextInt()) L.add L sc.nextInt() sc.nextInt sc Collections.sort(L, Comparator.reverseOrder()) Collections.sort Collections L Comparator.reverseOrder() Comparator.reverseOrder Comparator int index = 0; index 0 int max = L.get(0); max L.get(0) L.get L 0 int total = 0; total 0 for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		} int i = 1; int i = 1; i 1 i < L.size() i L.size() L.size L i++ i++ i {
			total += L.get(i);
		} {
			total += L.get(i);
		} total += L.get(i) total L.get(i) L.get L i if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} max < total max total {
			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" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt(); //N角形
		List<Integer> L = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			L.add(sc.nextInt());
		}
		Collections.sort(L, Comparator.reverseOrder());
		int index = 0;
		int max = L.get(0);
		int total = 0;
		for(int i = 1; i < L.size(); i++) {
			total += L.get(i);
		}
		if(max < total) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}