import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
 
public class Main {
  public static void main(String... args) {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  }
  
  public static int sum(List<Integer> values) {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  }
} import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String... args) {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  }
  
  public static int sum(List<Integer> values) {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  }
} Main public static void main(String... args) {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  } main {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Integer[] lines = new Integer[sc.nextInt()]; lines new Integer[sc.nextInt()] sc.nextInt() sc.nextInt sc for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    } int i = 0; int i = 0; i 0 sc.hasNext() sc.hasNext sc i++ i++ i {
      lines[i] = sc.nextInt();
    } {
      lines[i] = sc.nextInt();
    } lines[i] = sc.nextInt() lines[i] lines i sc.nextInt() sc.nextInt sc List<Integer> list = Arrays.asList(lines); list Arrays.asList(lines) Arrays.asList Arrays lines if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    } Collections.max(list) >= sum(list) Collections.max(list) Collections.max Collections list sum(list) sum list {
    	System.out.println("No");
    } System.out.println("No") System.out.println System.out System System.out "No" {
    	System.out.println("Yes");
    } System.out.println("Yes") System.out.println System.out System System.out "Yes" String... args args public static int sum(List<Integer> values) {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  } sum {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  } int sum = 0; sum 0 for(int value : values) {
      sum += value;
    } int value values {
      sum += value;
    } {
      sum += value;
    } sum += value sum value return sum - Collections.max(values); sum - Collections.max(values) sum Collections.max(values) Collections.max Collections values List<Integer> values values public class Main {
  public static void main(String... args) {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  }
  
  public static int sum(List<Integer> values) {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  }
} public class Main {
  public static void main(String... args) {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  }
  
  public static int sum(List<Integer> values) {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  }
} Main
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
 
public class Main {
  public static void main(String... args) {
  	Scanner sc = new Scanner(System.in);
    Integer[] lines = new Integer[sc.nextInt()];
    
    for(int i = 0; sc.hasNext(); i++) {
      lines[i] = sc.nextInt();
    }
    
    List<Integer> list = Arrays.asList(lines);
    
    if(Collections.max(list) >= sum(list)) {
    	System.out.println("No");
    } else {
    	System.out.println("Yes");
    }
  }
  
  public static int sum(List<Integer> values) {
    int sum = 0;
    
    for(int value : values) {
      sum += value;
    }
    
    return sum - Collections.max(values);
  }
}