import java.util.*;
import java.util.Arrays;
import java.lang.Math;
 
public class Main{
        public static void main(String[] args){
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
} import java.util.*; util.* java import java.util.Arrays; Arrays java.util import java.lang.Math; Math java.lang public class Main{
        public static void main(String[] args){
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
} Main public static void main(String[] args){
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        } main {
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        } Scanner scanCnt = new Scanner(System.in); scanCnt new Scanner(System.in) int N = scanCnt.nextInt(); N scanCnt.nextInt() scanCnt.nextInt scanCnt int Array[] = new int[N]; Array new int[N] N int sum =0; sum 0 for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                } int i = 0 ; int i = 0 ; i 0 i < N i N i++ i++ i {
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                } {
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                } Array[i]=scanCnt.nextInt() Array[i] Array i scanCnt.nextInt() scanCnt.nextInt scanCnt sum += Array[i] sum Array[i] Array i Arrays.sort(Array) Arrays.sort Arrays Array int max = Array[N-1]; max Array[N-1] Array N-1 N 1 if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                } max<sum-max max sum-max sum 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 public class Main{
        public static void main(String[] args){
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
} public class Main{
        public static void main(String[] args){
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
} Main
import java.util.*;
import java.util.Arrays;
import java.lang.Math;
 
public class Main{
        public static void main(String[] args){
                Scanner scanCnt = new Scanner(System.in);
                int N = scanCnt.nextInt();
                int Array[] = new int[N];
                int sum =0;
                for(int i = 0 ; i < N ; i++ ){
                        Array[i]=scanCnt.nextInt();
                        sum += Array[i];
                }
 
                Arrays.sort(Array);
                int max = Array[N-1];
 
                if(max<sum-max){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
}