import java.util.*;
public class Main {
	public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     } main {
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int arr[] = new int[N]; arr new int[N] N for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
           arr[i] = sc.nextInt();
        } {
           arr[i] = sc.nextInt();
        } arr[i] = sc.nextInt() arr[i] arr i sc.nextInt() sc.nextInt sc int max = arr[0]; max arr[0] arr 0 int maxLength = arr[0]; maxLength arr[0] arr 0 for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        } int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        } {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        } if (arr[i] > max) {
                max = arr[i];
            } arr[i] > max arr[i] arr i max {
                max = arr[i];
            } max = arr[i] max arr[i] arr i maxLength += arr[i] maxLength arr[i] arr i if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        } max >= maxLength - max max maxLength - max maxLength max {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {
	public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     }
} public class Main {
	public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     }
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        int N = sc.nextInt();
        int arr[] = new int[N];

        for (int i = 0; i < N; i++) {
           arr[i] = sc.nextInt();
        }

        int max = arr[0];
        int maxLength = arr[0];
        
        for (int i = 1; i < N; i++) {
            if (arr[i] > max) {
                max = arr[i];
            }

            maxLength += arr[i];
        }

        if (max >= maxLength - max) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

     }
}