import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }

    private static int max(int[] a) {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    }


} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }

    private static int max(int[] a) {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    }


} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    } main {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int t = sc.nextInt(); t sc.nextInt() sc.nextInt sc int l[] = new int[t]; l new int[t] t int sg = 0; sg 0 for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        } int i = 0; int i = 0; i 0 i < t i t i++ i++ i {
            l[i] = sc.nextInt();
            sg += l[i];
        } {
            l[i] = sc.nextInt();
            sg += l[i];
        } l[i] = sc.nextInt() l[i] l i sc.nextInt() sc.nextInt sc sg += l[i] sg l[i] l i int m = max(l); m max(l) max l sg -= l[m] sg l[m] l m if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        } sg > l[m] sg l[m] l m {
            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 private static int max(int[] a) {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    } max {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    } int maxi = 0; maxi 0 for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        } int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        } {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        } if(a[maxi] < a[i]) {
                maxi = i;
            } a[maxi] < a[i] a[maxi] a maxi a[i] a i {
                maxi = i;
            } maxi = i maxi i return maxi; maxi int[] a a public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }

    private static int max(int[] a) {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    }


} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }

    private static int max(int[] a) {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    }


} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int l[] = new int[t];
        int sg = 0;
        for(int i = 0; i < t; i++) {
            l[i] = sc.nextInt();
            sg += l[i];
        }
        int m = max(l);
        sg -= l[m];
        if(sg > l[m]) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }

    private static int max(int[] a) {
        int maxi = 0;
        for(int i = 0; i < a.length; i++) {
            if(a[maxi] < a[i]) {
                maxi = i;
            }
        }
        return maxi;
    }


}
