import java.util.*;

public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  }
} import java.util.*; util.* java public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  }
} Main public static void main (String[] args){
    
    Main main = new Main ();
    
    main.solve();
  } main {
    
    Main main = new Main ();
    
    main.solve();
  } Main main = new Main (); main new Main () main.solve() main.solve main String[] args args private void solve(){
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  } solve {
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int[] list = new int[N]; list new int[N] N int sum = 0; sum 0 boolean flag =true; flag true for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    } int index=0; int index=0; index 0 index<N index N index++ index++ index {
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    } {
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    } int temp=scanner.nextInt(); temp scanner.nextInt() scanner.nextInt scanner list[index]=temp list[index] list index temp sum+=temp sum temp for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    } int index=0; int index=0; index 0 index<N index N index++ index++ index {
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    } {
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    } int temp=list[index]; temp list[index] list index if (temp>=sum-temp){
        flag=false;
      } temp>=sum-temp temp sum-temp sum temp {
        flag=false;
      } flag=false flag false if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    } flag==true flag true {
      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" public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  }
} public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  }
} Main
import java.util.*;

public class Main{
  
  public static void main (String[] args){
    
    Main main = new Main ();
    
    main.solve();
  }
  
  private void solve(){
    
    Scanner scanner = new Scanner(System.in);
    
    int N = scanner.nextInt();
    int[] list = new int[N];
    int sum = 0;
    boolean flag =true;
    
    for (int index=0; index<N; index++){
      int temp=scanner.nextInt();
      list[index]=temp;
      sum+=temp;
    }
    
    for (int index=0; index<N; index++){
      int temp=list[index];
      if (temp>=sum-temp){
        flag=false;
      }
    }
    
    if (flag==true){
      System.out.println("Yes");
  } else {
      System.out.println("No");
    }
  }
}