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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			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.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			list.add(Integer.parseInt(sc.next()));
		} {
			list.add(Integer.parseInt(sc.next()));
		} list.add(Integer.parseInt(sc.next())) list.add list Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc Collections.sort(list, Collections.reverseOrder()) Collections.sort Collections list Collections.reverseOrder() Collections.reverseOrder Collections int max = list.get(0); max list.get(0) list.get list 0 int sum = 0; sum 0 for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		} int i = 1; int i = 1; i 1 i < list.size() i list.size() list.size list i++ i++ i {
			sum += list.get(i);
		} {
			sum += list.get(i);
		} sum += list.get(i) sum list.get(i) list.get list i if(max < sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} max < sum max sum {
			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 = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			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 = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = Integer.parseInt(sc.next());
		ArrayList<Integer> list = new ArrayList<>();
		for(int i = 0; i < N; i++) {
			list.add(Integer.parseInt(sc.next()));
		}
		sc.close();

		//降順にリストをソート
		Collections.sort(list, Collections.reverseOrder());

		//判定
		int max = list.get(0);
		int sum = 0;
		for(int i = 1; i < list.size(); i++) {
			sum += list.get(i);
		}
		if(max < sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}