import java.util.*;

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

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int sum = 0; sum 0 int maxL = 0; maxL 0 for (int i = 0; i < n; ++i) {
            int l = scan.nextInt();
            maxL = Math.max(maxL, l);
            sum += l;
        } int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
            int l = scan.nextInt();
            maxL = Math.max(maxL, l);
            sum += l;
        } {
            int l = scan.nextInt();
            maxL = Math.max(maxL, l);
            sum += l;
        } int l = scan.nextInt(); l scan.nextInt() scan.nextInt scan maxL = Math.max(maxL, l) maxL Math.max(maxL, l) Math.max Math maxL l sum += l sum l if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } maxL < sum - maxL maxL sum - maxL sum maxL {
            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 public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.*;

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

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

        if (maxL < sum - maxL) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}