import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    } main {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> List = new ArrayList<>(); List new ArrayList<>() int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc for(int a=0;a<N;a++) List.add(sc.nextInt()); int a=0; int a=0; a 0 a<N a N a++ a++ a List.add(sc.nextInt()); List.add(sc.nextInt()) List.add List sc.nextInt() sc.nextInt sc int max = Collections.max(List); max Collections.max(List) Collections.max Collections List int num = List.indexOf(max); num List.indexOf(max) List.indexOf List max List.remove(num) List.remove List num int sum=0; sum 0 for(int a=0;a<List.size();a++) sum+=List.get(a); int a=0; int a=0; a 0 a<List.size() a List.size() List.size List a++ a++ a sum+=List.get(a); sum+=List.get(a) sum List.get(a) List.get List a if(sum>max) System.out.println("Yes");
        else System.out.println("No"); sum>max sum 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 public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> List = new ArrayList<>();
        int N = sc.nextInt();
        for(int a=0;a<N;a++) List.add(sc.nextInt());
        int max = Collections.max(List);
        int num = List.indexOf(max);
        List.remove(num);
        int sum=0;
        for(int a=0;a<List.size();a++) sum+=List.get(a);

        if(sum>max) System.out.println("Yes");
        else System.out.println("No");
    }
}