import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    } main {
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    } BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in)); bf new BufferedReader(new InputStreamReader(System.in)) int N = Integer.parseInt(bf.readLine()); N Integer.parseInt(bf.readLine()) Integer.parseInt Integer bf.readLine() bf.readLine bf String[] str = bf.readLine().split(" "); str bf.readLine().split(" ") bf.readLine().split bf.readLine() bf.readLine bf " " int max = 0 max 0 sum = 0; sum 0 for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        } {
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        } int value = Integer.parseInt(str[i]); value Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i sum += value sum value if(max < value){
                max = value;
            } max < value max value {
                max = value;
            } max = value max value if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        } sum - max > max sum - max sum max max {
            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 IOException{
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    }
} public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    }
} Main
import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader bf = 
            new BufferedReader(new InputStreamReader(System.in));
        int N = Integer.parseInt(bf.readLine());
        String[] str = bf.readLine().split(" ");
        int max = 0,
            sum = 0;
        for(int i = 0; i < N; i++){
            int value = Integer.parseInt(str[i]);
            sum += value;
            if(max < value){
                max = value;
            }
        }
        if(sum - max > max){
            System.out.println("Yes");
        } else{
            System.out.println("No");
        }        
    }
}