import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int max = 0; max 0 int sum = 0; sum 0 for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        } {
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        } int l = sc.nextInt(); l sc.nextInt() sc.nextInt sc sum += l sum l max = Math.max(max, l) max Math.max(max, l) Math.max Math max l System.out.println(max < sum - max ? "Yes" : "No") System.out.println System.out System System.out max < sum - max ? "Yes" : "No" max < sum - max max sum - max sum max "Yes" "No" String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    }
} Main
import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int max = 0;
        int sum = 0;

        for(int i = 0; i < n; i++){
            int l = sc.nextInt();
            sum += l;
            max = Math.max(max, l);
        }

        System.out.println(max < sum - max ? "Yes" : "No");

    }
}
