import java.util.*;
import java.io.*;
public class Main {
  	public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
  	public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    }
} Main public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    } main {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int max = 0; max 0 int total = 0; total 0 for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        } {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        } int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc total += x total x max = Math.max(x, max) max Math.max(x, max) Math.max Math x max System.out.println(max < total - max ? "Yes" : "No") System.out.println System.out System System.out max < total - max ? "Yes" : "No" max < total - max max total - max total max "Yes" "No" String[] args args public class Main {
  	public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    }
} public class Main {
  	public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    }
} Main
import java.util.*;
import java.io.*;
public class Main {
  	public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	int max = 0;
      	int total = 0;
      	for(int i = 0; i < n; i++) {
          	int x = sc.nextInt();
          	total += x;
        	max = Math.max(x, max);
        }
      	System.out.println(max < total - max ? "Yes" : "No");
    }
}