
import java.util.*;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
			
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
			
	}
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
			
	} main {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			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> list = new ArrayList<Integer>(); list new ArrayList<Integer>() for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int k = sc.nextInt();
			list.add(k);
		} {
			int k = sc.nextInt();
			list.add(k);
		} int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc list.add(k) list.add list k boolean flag = true; flag true for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		} int j = 0; int j = 0; j 0 j < list.size() j list.size() list.size list j++ j++ j {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		} {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		} list.get(j) list.get list j int plus = 0; plus 0 for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			} int l = 0; int l = 0; l 0 l < list.size() l list.size() list.size list l++ l++ l {
				plus += list.get(l);
			} {
				plus += list.get(l);
			} plus += list.get(l) plus list.get(l) list.get list l plus -= list.get(j) plus list.get(j) list.get list j if(list.get(j) >= plus) {
				flag = false;
			} list.get(j) >= plus list.get(j) list.get list j plus {
				flag = false;
			} flag = false flag false if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} flag {
			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) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
			
	}
} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
			
	}
} Main

import java.util.*;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < n; i++) {
			int k = sc.nextInt();
			list.add(k);
		}
		boolean flag = true;
		
		for (int j = 0; j < list.size(); j++) {
			list.get(j);
			int plus = 0;
			for(int l = 0; l < list.size(); l++) {
				plus += list.get(l);
			}
			plus -= list.get(j);
			if(list.get(j) >= plus) {
				flag = false;
			}
		}
		if(flag) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
			
	}
}