import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      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 num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc int max = 0; max 0 int k = 0; k 0 ArrayList<Integer> array = new ArrayList<Integer>(); array new ArrayList<Integer>() for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    } int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    } {
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc array.add(n) array.add array n if(max < n){
        max = n;
        k = i;
      } max < n max n {
        max = n;
        k = i;
      } max = n max n k = i k i array.remove(k) array.remove array k int sum = 0; sum 0 for(Integer i : array){
      sum += i;
    } Integer i array {
      sum += i;
    } {
      sum += i;
    } sum += i sum i if(max < sum){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    } max < sum max sum {
      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 num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      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 num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      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 num = sc.nextInt();
    int max = 0;
    int k = 0;
    ArrayList<Integer> array = new ArrayList<Integer>();
    for(int i = 0;i < num;i++){
      int n = sc.nextInt();
      array.add(n);
      if(max < n){
        max = n;
        k = i;
      }
    }
    array.remove(k);
    int sum = 0;
    for(Integer i : array){
      sum += i;
    }
    if(max < sum){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  }
}
    