import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;


public class Main {
	static Scanner sc = new Scanner(System.in);
	
	public static void main (String [] args){
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	}
} import java.math.BigDecimal; BigDecimal java.math 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 import java.util.regex.Matcher; Matcher java.util.regex import java.util.regex.Pattern; Pattern java.util.regex public class Main {
	static Scanner sc = new Scanner(System.in);
	
	public static void main (String [] args){
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	}
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main (String [] args){
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	} main {
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	} ArrayList <Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int total = 0; total 0 String answer; answer for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		} int i = 0; int i = 0; i 0 i<a i a 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 Collections.sort(list) Collections.sort Collections list for(int i = 0;i<a-1;i++){
			total += list.get(i);
		} int i = 0; int i = 0; i 0 i<a-1 i a-1 a 1 i++ i++ i {
			total += list.get(i);
		} {
			total += list.get(i);
		} total += list.get(i) total list.get(i) list.get list i if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		} list.get(a-1)<total list.get(a-1) list.get list a-1 a 1 total {
			answer = "Yes";
		} answer = "Yes" answer "Yes" {
			answer = "No";
		} answer = "No" answer "No" System.out.println(answer) System.out.println System.out System System.out answer System.out.flush() System.out.flush System.out System System.out sc.close() sc.close sc String [] args args public class Main {
	static Scanner sc = new Scanner(System.in);
	
	public static void main (String [] args){
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	}
} public class Main {
	static Scanner sc = new Scanner(System.in);
	
	public static void main (String [] args){
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	}
} Main
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;


public class Main {
	static Scanner sc = new Scanner(System.in);
	
	public static void main (String [] args){
		ArrayList <Integer> list = new ArrayList<Integer>();
//		String [][] boad = new String[4][4];
		int a = Integer.parseInt(sc.next());
		int total = 0;
		String answer;		
		for(int i = 0;i<a;i++){
			list.add(Integer.parseInt(sc.next()));
		}
		
		Collections.sort(list);
		for(int i = 0;i<a-1;i++){
			total += list.get(i);
		}
		if(list.get(a-1)<total){
			answer = "Yes";
		}else{
			answer = "No";
		}
		
		
		System.out.println(answer);
		System.out.flush();
		sc.close();

	}
}