import java.util.Scanner;
class Main{
public static void main(String args[]){
	Scanner s=new Scanner(System.in);
	int sumOfLeft=0;
	int max=0;
	int side=0;
	int N=s.nextInt();
	for(int i=0;i<N;i++){
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	}
	if(sumOfLeft<=(2*max)) System.out.println("No");
	else System.out.println("Yes");
}} import java.util.Scanner; Scanner java.util class Main{
public static void main(String args[]){
	Scanner s=new Scanner(System.in);
	int sumOfLeft=0;
	int max=0;
	int side=0;
	int N=s.nextInt();
	for(int i=0;i<N;i++){
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	}
	if(sumOfLeft<=(2*max)) System.out.println("No");
	else System.out.println("Yes");
}} Main public static void main(String args[]){
	Scanner s=new Scanner(System.in);
	int sumOfLeft=0;
	int max=0;
	int side=0;
	int N=s.nextInt();
	for(int i=0;i<N;i++){
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	}
	if(sumOfLeft<=(2*max)) System.out.println("No");
	else System.out.println("Yes");
} main {
	Scanner s=new Scanner(System.in);
	int sumOfLeft=0;
	int max=0;
	int side=0;
	int N=s.nextInt();
	for(int i=0;i<N;i++){
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	}
	if(sumOfLeft<=(2*max)) System.out.println("No");
	else System.out.println("Yes");
} Scanner s=new Scanner(System.in); s new Scanner(System.in) int sumOfLeft=0; sumOfLeft 0 int max=0; max 0 int side=0; side 0 int N=s.nextInt(); N s.nextInt() s.nextInt s for(int i=0;i<N;i++){
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	} int i=0; int i=0; i 0 i<N i N i++ i++ i {
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	} {
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	} side=s.nextInt() side s.nextInt() s.nextInt s sumOfLeft+=side sumOfLeft side if(max<side) max=side; max<side max side max=side max side if(sumOfLeft<=(2*max)) System.out.println("No");
	else System.out.println("Yes"); sumOfLeft<=(2*max) sumOfLeft (2*max) 2 max System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" String args[] args
import java.util.Scanner;
class Main{
public static void main(String args[]){
	Scanner s=new Scanner(System.in);
	int sumOfLeft=0;
	int max=0;
	int side=0;
	int N=s.nextInt();
	for(int i=0;i<N;i++){
		side=s.nextInt();
		sumOfLeft+=side;
		if(max<side) max=side;
	}
	if(sumOfLeft<=(2*max)) System.out.println("No");
	else System.out.println("Yes");
}}