import java.io.*;
import java.util.*;
class Program{

}
class Main{
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        int temp,max = Integer.MIN_VALUE, sum = 0;
        while(N-->0){
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        }
        if (sum-max>max) System.out.println("Yes");
        else System.out.println("No");
    }
} import java.io.*; io.* java import java.util.*; util.* java class Program{

} Program class Main{
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        int temp,max = Integer.MIN_VALUE, sum = 0;
        while(N-->0){
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        }
        if (sum-max>max) System.out.println("Yes");
        else System.out.println("No");
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        int temp,max = Integer.MIN_VALUE, sum = 0;
        while(N-->0){
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        }
        if (sum-max>max) System.out.println("Yes");
        else System.out.println("No");
    } main {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        int temp,max = Integer.MIN_VALUE, sum = 0;
        while(N-->0){
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        }
        if (sum-max>max) System.out.println("Yes");
        else System.out.println("No");
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int temp temp max = Integer.MIN_VALUE max Integer.MIN_VALUE Integer Integer.MIN_VALUE sum = 0; sum 0 while(N-->0){
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        } N-->0 N-- N 0 {
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        } temp = in.nextInt() temp in.nextInt() in.nextInt in max = Math.max(temp, max) max Math.max(temp, max) Math.max Math temp max sum += temp sum temp if (sum-max>max) System.out.println("Yes");
        else System.out.println("No"); sum-max>max sum-max sum max max 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
import java.io.*;
import java.util.*;
class Program{

}
class Main{
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        int temp,max = Integer.MIN_VALUE, sum = 0;
        while(N-->0){
            temp = in.nextInt();
            max = Math.max(temp, max);
            sum += temp;
        }
        if (sum-max>max) System.out.println("Yes");
        else System.out.println("No");
    }
}