import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} Main public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    } main {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    } try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        } catch(Exception e){
            System.out.println(e);
        } Exception e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int N = Integer.parseInt(br.readLine()); N Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String strSplit[] = br.readLine().split(" "); strSplit br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int Li[] = new int[N]; Li new int[N] N int maxNumber = 0; maxNumber 0 int maxNumberIndex = 0; maxNumberIndex 0 for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            } int i=0; int i=0; i 0 i<N i N i++ i++ i {
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            } {
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            } int L = Integer.parseInt(strSplit[i]); L Integer.parseInt(strSplit[i]) Integer.parseInt Integer strSplit[i] strSplit i if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                } maxNumber < L maxNumber L {
                    maxNumber = L;
                    maxNumberIndex = i;
                } maxNumber = L maxNumber L maxNumberIndex = i maxNumberIndex i Li[i] = L Li[i] Li i L int sum = 0; sum 0 for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            } int i=0; int i=0; i 0 i<N i N i++ i++ i {
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            } {
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            } if(i != maxNumberIndex){
                    sum = sum + Li[i];
                } i != maxNumberIndex i maxNumberIndex {
                    sum = sum + Li[i];
                } sum = sum + Li[i] sum sum + Li[i] sum Li[i] Li i if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            } sum > maxNumber sum maxNumber {
                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) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} Main
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            int N = Integer.parseInt(br.readLine());
            String strSplit[] = br.readLine().split(" ");
            int Li[] = new int[N];
            int maxNumber = 0;
            int maxNumberIndex = 0;
            for(int i=0; i<N; i++){
                int L = Integer.parseInt(strSplit[i]);
                if(maxNumber < L){
                    maxNumber = L;
                    maxNumberIndex = i;
                }
                Li[i] = L;
            }
            
            int sum = 0;
            for(int i=0; i<N; i++){
                if(i != maxNumberIndex){
                    sum = sum + Li[i];
                }
            }

            if(sum > maxNumber){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
}