import java.util.*;
import java.io.*;
import java.math.*;
public class Main {
    public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	}
} import java.util.*; util.* java import java.io.*; io.* java import java.math.*; math.* java public class Main {
    public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	}
} Main public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	} main {
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter ou = new PrintWriter(System.out); ou new PrintWriter(System.out) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int[] l = new int[n]; l new int[n] n for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next()); int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i l[i] = Integer.parseInt(sc.next()); l[i] = Integer.parseInt(sc.next()) l[i] l i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc Arrays.sort(l) Arrays.sort Arrays l int yono = 0; yono 0 for(int i = 0 ; i < n - 1 ; i++) yono += l[i]; int i = 0 ; int i = 0 ; i 0 i < n - 1 i n - 1 n 1 i++ i++ i yono += l[i]; yono += l[i] yono l[i] l i if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No"); yono > l[n - 1] yono l[n - 1] l n - 1 n 1 ou.println("Yes") ou.println ou "Yes" ou.println("No") ou.println ou "No" ou.flush() ou.flush ou String[]args args public class Main {
    public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	}
} public class Main {
    public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	}
} Main
import java.util.*;
import java.io.*;
import java.math.*;
public class Main {
    public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int n = Integer.parseInt(sc.next());
		int[] l = new int[n];
		for(int i = 0 ; i < n ; i++) l[i] = Integer.parseInt(sc.next());
		Arrays.sort(l);
		int yono = 0;
		for(int i = 0 ; i < n - 1 ; i++) yono += l[i];
		if(yono > l[n - 1]) ou.println("Yes");
		else ou.println("No");
		ou.flush();
	}
}