import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			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 maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			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 maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}

	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			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 maxLength = scan.nextInt(); maxLength scan.nextInt() scan.nextInt scan int otherLength = maxLength; otherLength maxLength for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		} int i = 1; int i = 1; i 1 i <= n-1 i n-1 n 1 i++ i++ i {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		} {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		} int currentLength = scan.nextInt(); currentLength scan.nextInt() scan.nextInt scan otherLength = otherLength + currentLength otherLength otherLength + currentLength otherLength currentLength if(maxLength <= currentLength) {
				maxLength = currentLength;
			} maxLength <= currentLength maxLength currentLength {
				maxLength = currentLength;
			} maxLength = currentLength maxLength currentLength otherLength = otherLength- maxLength otherLength otherLength- maxLength otherLength maxLength if(maxLength < otherLength) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} maxLength < otherLength maxLength otherLength {
			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 maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			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 maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			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 maxLength = scan.nextInt();
		int otherLength = maxLength;
		for(int i = 1;i <= n-1;i++) {
			int currentLength = scan.nextInt();
			otherLength = otherLength + currentLength;
			if(maxLength <= currentLength) {
				maxLength = currentLength;
			}
		}
		otherLength = otherLength- maxLength;
		if(maxLength < otherLength) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}

	}
}