import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int max = -1;
        int sum = 0;
        for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        }
        System.out.println( max<sum-max? "Yes" : "No");
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int max = -1;
        int sum = 0;
        for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        }
        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 = -1;
        int sum = 0;
        for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        }
        System.out.println( max<sum-max? "Yes" : "No");
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int max = -1;
        int sum = 0;
        for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        }
        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 = -1; max -1 1 int sum = 0; sum 0 for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        } {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        } int tmp = sc.nextInt(); tmp sc.nextInt() sc.nextInt sc if( max<tmp ) max = tmp; max<tmp max tmp max = tmp max tmp sum+= tmp sum tmp 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 = -1;
        int sum = 0;
        for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        }
        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 = -1;
        int sum = 0;
        for (int i = 0; i < n; i++) {
            int tmp = sc.nextInt();
            if( max<tmp ) max = tmp;
            sum+= tmp;
        }
        System.out.println( max<sum-max? "Yes" : "No");
    }
} Main
import java.util.Scanner;

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