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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		}
		
		if (max < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

} import java.util.ArrayList; ArrayList 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);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.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);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		}
		
		if (max < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.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) final int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc sc.nextLine() sc.nextLine sc final List<Integer> ls = new ArrayList<>(); ls new ArrayList<>() int max = -1; max -1 1 int maxId = -1; maxId -1 1 for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		} {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		} final int l = sc.nextInt(); l sc.nextInt() sc.nextInt sc ls.add(l) ls.add ls l if (l > max) {
				max = l;
				maxId = i;
			} l > max l max {
				max = l;
				maxId = i;
			} max = l max l maxId = i maxId i int sum = 0; sum 0 for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		} {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		} if (i == maxId) {
				continue;
			} i == maxId i maxId {
				continue;
			} continue; sum += ls.get(i) sum ls.get(i) ls.get ls 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);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.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);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		}
		
		if (max < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		final int N = sc.nextInt();
		sc.nextLine();
		
		final List<Integer> ls = new ArrayList<>();
		int max = -1;
		int maxId = -1;
		for (int i = 0; i < N; i++) {
			final int l = sc.nextInt();
			ls.add(l);
			
			if (l > max) {
				max = l;
				maxId = i;
			}
		}
		
		int sum = 0;
		for (int i = 0; i < N; i++) {
			if (i == maxId) {
				continue;
			}
			
			sum += ls.get(i);
		}
		
		if (max < sum) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

}