import java.util.*;
import java.io.*;

public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  }
}
     import java.util.*; util.* java import java.io.*; io.* java public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  }
} Main public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] s = br.readLine().split(" "); s br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int[] a = new int[10]; a new int[10] 10 for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      a[i] = Integer.parseInt(s[i]);
    } {
      a[i] = Integer.parseInt(s[i]);
    } a[i] = Integer.parseInt(s[i]) a[i] a i Integer.parseInt(s[i]) Integer.parseInt Integer s[i] s i int max = 0; max 0 int sum = 0; sum 0 for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      sum += a[i];
      max = Math.max(max, a[i]);
    } {
      sum += a[i];
      max = Math.max(max, a[i]);
    } sum += a[i] sum a[i] a i max = Math.max(max, a[i]) max Math.max(max, a[i]) Math.max Math max a[i] a i if(max < sum - max) System.out.println("Yes");
    else System.out.println("No"); max < sum - max max sum - max sum max System.out.println("Yes") System.out.println System.out System System.out "Yes" 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) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  }
} public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  }
} Main
import java.util.*;
import java.io.*;

public class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] s = br.readLine().split(" ");
    int[] a = new int[10];
    for(int i = 0; i < n; i++){
      a[i] = Integer.parseInt(s[i]);
    }
    
    int max = 0;
    int sum = 0;
    for(int i = 0; i < n; i++){
      sum += a[i];
      max = Math.max(max, a[i]);
    }
    
    if(max < sum - max) System.out.println("Yes");
    else System.out.println("No");
  }
}
    