import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Integer n = sc.nextInt();
        Integer[] a = new Integer[n];
        Integer max = 0, sum=0;
        for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        }
        if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        }
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Integer n = sc.nextInt();
        Integer[] a = new Integer[n];
        Integer max = 0, sum=0;
        for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        }
        if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Integer n = sc.nextInt();
        Integer[] a = new Integer[n];
        Integer max = 0, sum=0;
        for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        }
        if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        }
    } main {
        Scanner sc = new Scanner(System.in);
        Integer n = sc.nextInt();
        Integer[] a = new Integer[n];
        Integer max = 0, sum=0;
        for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        }
        if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Integer n = sc.nextInt(); n sc.nextInt() sc.nextInt sc Integer[] a = new Integer[n]; a new Integer[n] n Integer max = 0 max 0 sum=0; sum 0 for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        } {
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sum += a[i] sum a[i] a i max = Math.max(a[i], max) max Math.max(a[i], max) Math.max Math a[i] a i max if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        } max < sum - max max sum - max sum max {
            System.out.println(new String("Yes"));
        } System.out.println(new String("Yes")) System.out.println System.out System System.out new String("Yes") {
            System.out.println(new String("No"));
        } System.out.println(new String("No")) System.out.println System.out System System.out new String("No") String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Integer n = sc.nextInt();
        Integer[] a = new Integer[n];
        Integer max = 0, sum=0;
        for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        }
        if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Integer n = sc.nextInt();
        Integer[] a = new Integer[n];
        Integer max = 0, sum=0;
        for(int i=0;i<n;i++){
            a[i] = sc.nextInt();
            sum += a[i];
            max = Math.max(a[i], max);
        }
        if(max < sum - max){
            System.out.println(new String("Yes"));
        }
        else{
            System.out.println(new String("No"));
        }
    }
} Main
import java.util.*;

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