import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  }
  

  
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  }
  

  
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int l[] = new int[n]; l new int[n] n int sum = 0; sum 0 int k[] = new int[n]; k new int[n] n for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      l[i]=sc.nextInt();
      sum = sum+l[i];
    } {
      l[i]=sc.nextInt();
      sum = sum+l[i];
    } l[i]=sc.nextInt() l[i] l i sc.nextInt() sc.nextInt sc sum = sum+l[i] sum sum+l[i] sum l[i] l i for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      k[i] = sum - l[i];
    } {
      k[i] = sum - l[i];
    } k[i] = sum - l[i] k[i] k i sum - l[i] sum l[i] l i for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    } {
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    } if(l[i]>=k[i]){
        System.out.println("No");
        return;
      } l[i]>=k[i] l[i] l i k[i] k i {
        System.out.println("No");
        return;
      } System.out.println("No") System.out.println System.out System System.out "No" return; 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){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  }
  

  
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  }
  

  
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int l[] = new int[n];
    int sum = 0;
    int k[] = new int[n];
    for(int i=0;i<n;i++){
      l[i]=sc.nextInt();
      sum = sum+l[i];
    }
    for(int i=0;i<n;i++){
      k[i] = sum - l[i];
    }
    for(int i=0;i<n;i++){
      if(l[i]>=k[i]){
        System.out.println("No");
        return;
      }
    }
    System.out.println("Yes");
      
    
    
  }
  

  
}