import java.util.*;
class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int N = sc.nextInt();
	int[] l = new int[N];
	int max = 0;
	int maxI = 0;
	for(int i = 0; i<N; i++) {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	}
	int others = 0;
	for(int i = 0; i<N; i++) {
	    if(i == maxI) continue;
	    others += l[i];
	}
	if(others > max) {
	    System.out.println("Yes");
	}else {
	    System.out.println("No");
	}
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int N = sc.nextInt();
	int[] l = new int[N];
	int max = 0;
	int maxI = 0;
	for(int i = 0; i<N; i++) {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	}
	int others = 0;
	for(int i = 0; i<N; i++) {
	    if(i == maxI) continue;
	    others += l[i];
	}
	if(others > max) {
	    System.out.println("Yes");
	}else {
	    System.out.println("No");
	}
    }
} Main public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int N = sc.nextInt();
	int[] l = new int[N];
	int max = 0;
	int maxI = 0;
	for(int i = 0; i<N; i++) {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	}
	int others = 0;
	for(int i = 0; i<N; i++) {
	    if(i == maxI) continue;
	    others += l[i];
	}
	if(others > max) {
	    System.out.println("Yes");
	}else {
	    System.out.println("No");
	}
    } main {
	Scanner sc = new Scanner(System.in);
	int N = sc.nextInt();
	int[] l = new int[N];
	int max = 0;
	int maxI = 0;
	for(int i = 0; i<N; i++) {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	}
	int others = 0;
	for(int i = 0; i<N; i++) {
	    if(i == maxI) continue;
	    others += l[i];
	}
	if(others > max) {
	    System.out.println("Yes");
	}else {
	    System.out.println("No");
	}
    } 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 max = 0; max 0 int maxI = 0; maxI 0 for(int i = 0; i<N; i++) {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	} int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	} {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	} l[i] = sc.nextInt() l[i] l i sc.nextInt() sc.nextInt sc if(max < l[i]) {
		max = l[i];
		maxI = i;
	    } max < l[i] max l[i] l i {
		max = l[i];
		maxI = i;
	    } max = l[i] max l[i] l i maxI = i maxI i int others = 0; others 0 for(int i = 0; i<N; i++) {
	    if(i == maxI) continue;
	    others += l[i];
	} int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
	    if(i == maxI) continue;
	    others += l[i];
	} {
	    if(i == maxI) continue;
	    others += l[i];
	} if(i == maxI) continue; i == maxI i maxI continue; others += l[i] others l[i] l i if(others > max) {
	    System.out.println("Yes");
	}else {
	    System.out.println("No");
	} others > max others max {
	    System.out.println("Yes");
	} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
	    System.out.println("No");
	} System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;
class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int N = sc.nextInt();
	int[] l = new int[N];
	int max = 0;
	int maxI = 0;
	for(int i = 0; i<N; i++) {
	    l[i] = sc.nextInt();
	    if(max < l[i]) {
		max = l[i];
		maxI = i;
	    }
	}
	int others = 0;
	for(int i = 0; i<N; i++) {
	    if(i == maxI) continue;
	    others += l[i];
	}
	if(others > max) {
	    System.out.println("Yes");
	}else {
	    System.out.println("No");
	}
    }
}