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

class Main {
	public static void main(String args[]) {
    	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	//List<Integer> l = new ArrayList<Integer>();
      	int max = 0;
      	int tsum = 0;
      	while(n > 0) {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        }
	    System.out.println((tsum - max) > max ? "Yes" : "No");
    }
} import java.io.*; io.* java import java.math.*; math.* java import java.util.*; util.* java class Main {
	public static void main(String args[]) {
    	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	//List<Integer> l = new ArrayList<Integer>();
      	int max = 0;
      	int tsum = 0;
      	while(n > 0) {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        }
	    System.out.println((tsum - max) > max ? "Yes" : "No");
    }
} Main public static void main(String args[]) {
    	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	//List<Integer> l = new ArrayList<Integer>();
      	int max = 0;
      	int tsum = 0;
      	while(n > 0) {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        }
	    System.out.println((tsum - max) > max ? "Yes" : "No");
    } main {
    	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	//List<Integer> l = new ArrayList<Integer>();
      	int max = 0;
      	int tsum = 0;
      	while(n > 0) {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        }
	    System.out.println((tsum - max) > 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 tsum = 0; tsum 0 while(n > 0) {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        } n > 0 n 0 {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        } int ele = sc.nextInt(); ele sc.nextInt() sc.nextInt sc n-- n max = max > ele ? max : ele max max > ele ? max : ele max > ele max ele max ele tsum += ele tsum ele System.out.println((tsum - max) > max ? "Yes" : "No") System.out.println System.out System System.out (tsum - max) > max ? "Yes" : "No" (tsum - max) > max (tsum - max) tsum max max "Yes" "No" String args[] args
import java.io.*;
import java.math.*;
import java.util.*;

class Main {
	public static void main(String args[]) {
    	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	//List<Integer> l = new ArrayList<Integer>();
      	int max = 0;
      	int tsum = 0;
      	while(n > 0) {
        	int ele = sc.nextInt();
          	//l.add(ele);
          	n--;
          	max = max > ele ? max : ele;
          	tsum += ele;
        }
	    System.out.println((tsum - max) > max ? "Yes" : "No");
    }
}