import java.util.*;
public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		}
	public static void main(String[] args) {
		solve();

	}

} import java.util.*; util.* java public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		}
	public static void main(String[] args) {
		solve();

	}

} Main static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		} solve {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int sum = 0; sum 0 String res = "No"; res "No" int[] array = new int [n]; array new int [n] n for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			} int i = 0; int i = 0; i 0 i<n i n i++ i++ i {
				array[i] = sc.nextInt();
				sum+=array[i];
			} {
				array[i] = sc.nextInt();
				sum+=array[i];
			} array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc sum+=array[i] sum array[i] array i int max = array[0]; max array[0] array 0 for(int numb:array) {
				if(numb>=max) 
					max = numb;
				} int numb array {
				if(numb>=max) 
					max = numb;
				} {
				if(numb>=max) 
					max = numb;
				} if(numb>=max) 
					max = numb; numb>=max numb max max = numb max numb if(max<sum-max) {
				res = "Yes";
			} max<sum-max max sum-max sum max {
				res = "Yes";
			} res = "Yes" res "Yes" System.out.println(res) System.out.println System.out System System.out res sc.close() sc.close sc public static void main(String[] args) {
		solve();

	} main {
		solve();

	} solve() solve String[] args args public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		}
	public static void main(String[] args) {
		solve();

	}

} public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		}
	public static void main(String[] args) {
		solve();

	}

} Main
import java.util.*;
public class Main {

		static void solve() {
			Scanner sc = new Scanner(System.in);
			int n = sc.nextInt();
			int sum = 0;
			String res = "No";
			int[] array = new int [n];
			for(int i = 0;i<n;i++) {
				array[i] = sc.nextInt();
				sum+=array[i];
			}
			int max = array[0];
			for(int numb:array) {
				if(numb>=max) 
					max = numb;
				}
			if(max<sum-max) {
				res = "Yes";
			}
		
			System.out.println(res);
			sc.close();
		}
	public static void main(String[] args) {
		solve();

	}

}