import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

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

} import java.util.Scanner; Scanner java.util public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

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

} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

		if(total - max - max > 0) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {

		Scanner scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

		if(total - max - max > 0) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = Integer.parseInt(scanner.nextLine()); n Integer.parseInt(scanner.nextLine()) Integer.parseInt Integer scanner.nextLine() scanner.nextLine scanner String temp1 = scanner.nextLine(); temp1 scanner.nextLine() scanner.nextLine scanner String[] temp = temp1.split(" "); temp temp1.split(" ") temp1.split temp1 " " int list[] = new int[n]; list new int[n] n int max = 0; max 0 int total = 0; total 0 for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		} {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		} list[i] = Integer.parseInt(temp[i]) list[i] list i Integer.parseInt(temp[i]) Integer.parseInt Integer temp[i] temp i total += list[i] total list[i] list i max = Math.max(max, list[i]) max Math.max(max, list[i]) Math.max Math max list[i] list i if(total - max - max > 0) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} total - max - max > 0 total - max - max total - max - max total max max 0 {
			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 scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

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

} public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

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

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int n = Integer.parseInt(scanner.nextLine());


		String temp1 = scanner.nextLine();
		String[] temp = temp1.split(" ");
		int list[] = new int[n];

		int max = 0;
		int total = 0;
		for(int i = 0; i < n; i++ ) {
			list[i] = Integer.parseInt(temp[i]);

			total += list[i];
			max = Math.max(max, list[i]);
		}

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

}
