import java.util.*;

public class Main
{
	public static void main(String args[])
	{
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} import java.util.*; util.* java public class Main
{
	public static void main(String args[])
	{
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} Main public static void main(String args[])
	{
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	} main {
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b[]=new int [a+1]; b new int [a+1] a+1 a 1 for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		} int i=0; int i=0; i 0 i<a i a i++ i++ i {
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		} {
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		} b[i]=sc.nextInt() b[i] b i sc.nextInt() sc.nextInt sc Arrays.sort(b) Arrays.sort Arrays b int c=0; c 0 for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		} int j=0; int j=0; j 0 j<a j a j++ j++ j {
			c=c+b[j];
			//System.out.println("c is:"+c);
		} {
			c=c+b[j];
			//System.out.println("c is:"+c);
		} c=c+b[j] c c+b[j] c b[j] b j if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No"); b[a]<c b[a] b a c System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String args[] args public class Main
{
	public static void main(String args[])
	{
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} public class Main
{
	public static void main(String args[])
	{
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} Main
import java.util.*;

public class Main
{
	public static void main(String args[])
	{
		Scanner sc=new Scanner(System.in);
		
		int a=sc.nextInt();
		int b[]=new int [a+1];
		for(int i=0;i<a;i++)
		{
			b[i]=sc.nextInt();
			//System.out.println(b[i]);
		}
		Arrays.sort(b);
		/*for(int k=0;k<a;k++)
		{
			System.out.println(b[k]);
		}*/
		int c=0;
		for(int j=0;j<a;j++)
		{
			c=c+b[j];
			//System.out.println("c is:"+c);
		}
		if(b[a]<c)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}