import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

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

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

  }
} Main public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

  } main {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

  } Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in int max = Integer.MIN_VALUE; max Integer.MIN_VALUE Integer Integer.MIN_VALUE int sum = 0; sum 0 for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    } int l = in.nextInt(); l in.nextInt() in.nextInt in sum += l sum l if(l > max){
        max = l;
      } l > max l max {
        max = l;
      } max = l max l System.out.println(max < sum - max ? "Yes" : "No") System.out.println System.out System System.out max < sum - max ? "Yes" : "No" max < sum - max max sum - max sum max "Yes" "No" String[] args args public class Main {

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

  }
} public class Main {

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

  }
} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int max = Integer.MIN_VALUE;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      int l = in.nextInt();
      sum += l;
      if(l > max){
        max = l;
      }
    }// End loop

    System.out.println(max < sum - max ? "Yes" : "No");

  }
}