import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    }
} Main public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    } main {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int count = sc.nextInt(); count sc.nextInt() sc.nextInt sc int max = 0; max 0 int total = 0; total 0 for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        } int i=0 ; int i=0 ; i 0 i<count i count i++ i++ i {
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        } {
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        } int tmp = sc.nextInt(); tmp sc.nextInt() sc.nextInt sc total += tmp total tmp if(max < tmp){
                max = tmp;
            } max < tmp max tmp {
                max = tmp;
            } max = tmp max tmp if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        } max >= total - max max total - max total max {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
             System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
            
        int count = sc.nextInt();
        int max = 0;
        int total = 0;
    
        for(int i=0 ; i<count;i++){
            
            int tmp = sc.nextInt();
            total += tmp;
            
            if(max < tmp){
                max = tmp;
            }
        }
        
        if(max >= total - max){
            System.out.println("No");
        }else{
             System.out.println("Yes");
        }
    }
}
