import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

}

} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

}

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

} main {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] nums=new int[sc.nextInt()]; nums new int[sc.nextInt()] sc.nextInt() sc.nextInt sc int biggest=0; biggest 0 for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        } int i=0; int i=0; i 0 i<nums.length i nums.length nums nums.length i++ i++ i {
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        } {
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        } nums[i]=sc.nextInt() nums[i] nums i sc.nextInt() sc.nextInt sc if(nums[i]>biggest)biggest=nums[i]; nums[i]>biggest nums[i] nums i biggest biggest=nums[i] biggest nums[i] nums i int a=biggest; a biggest for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        } int i=0; int i=0; i 0 i<nums.length i nums.length nums nums.length i++ i++ i {
            biggest-=nums[i];
        } {
            biggest-=nums[i];
        } biggest-=nums[i] biggest nums[i] nums i if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } biggest+a<0 biggest+a biggest a 0 {
            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) {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

}

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

}

} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] nums=new int[sc.nextInt()];
        int biggest=0;
        for(int i=0;i<nums.length;i++){
            nums[i]=sc.nextInt();
            if(nums[i]>biggest)biggest=nums[i];
        }
        int a=biggest;
        for(int i=0;i<nums.length;i++){
            biggest-=nums[i];
        }
        if(biggest+a<0){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
        
        
        

}

}
