import java.util.*;
import java.io.*;
public class Main{
        public static void main(String[] args){
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        }
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
        public static void main(String[] args){
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        }
} Main public static void main(String[] args){
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        } main {
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Map hs = new HashMap(); hs new HashMap() 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] = Integer.parseInt(sc.next()) l[i] l i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc Arrays.sort(l) Arrays.sort Arrays l for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                } int i = 0 ; int i = 0 ; i 0 i < n - 1 i n - 1 n 1 i++ i++ i {
                        l[n - 1] -= l[i];
                } {
                        l[n - 1] -= l[i];
                } l[n - 1] -= l[i] l[n - 1] l n - 1 n 1 l[i] l i if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n"); l[n - 1] >= 0 l[n - 1] l n - 1 n 1 0 ou.print("No\n") ou.print ou "No\n" ou.print("Yes\n") ou.print ou "Yes\n" ou.flush() ou.flush ou String[] args args public class Main{
        public static void main(String[] args){
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        }
} public class Main{
        public static void main(String[] args){
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        }
} Main
import java.util.*;
import java.io.*;
public class Main{
        public static void main(String[] args){
                Scanner sc = new Scanner(System.in);
                Map hs = new HashMap();
                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());
                }
                sc.close();
                Arrays.sort(l);
                for(int i = 0 ; i < n - 1 ; i++){
                        l[n - 1] -= l[i];
                }
                if(l[n - 1] >= 0) ou.print("No\n");
                else ou.print("Yes\n");
                ou.flush();
        }
}