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;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  }
} 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;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  }
} 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;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int[] L = new int[n];
    int sum = 0;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  } 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 for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      L[i] = sc.nextInt();
      sum += L[i];
    } {
      L[i] = sc.nextInt();
      sum += L[i];
    } L[i] = sc.nextInt() L[i] L i sc.nextInt() sc.nextInt sc sum += L[i] sum L[i] L i Arrays.sort(L) Arrays.sort Arrays L String ans = "No"; ans "No" if(L[n - 1] < (sum - L[n - 1])) ans = "Yes"; L[n - 1] < (sum - L[n - 1]) L[n - 1] L n - 1 n 1 (sum - L[n - 1]) sum L[n - 1] L n - 1 n 1 ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans 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;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  }
} 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;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  }
} 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;
    for(int i = 0; i < n; i++) {
      L[i] = sc.nextInt();
      sum += L[i];
    }
    Arrays.sort(L);
    String ans = "No";
    if(L[n - 1] < (sum - L[n - 1])) ans = "Yes";
    System.out.println(ans);
  }
}