import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	}

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

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	}

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

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	} main {

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int corner = scanner.nextInt(); corner scanner.nextInt() scanner.nextInt scanner int totalLength = 0; totalLength 0 int maxSideLength = 0; maxSideLength 0 for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		} int i = 0; int i = 0; i 0 i < corner i corner ++i ++i i {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		} {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		} int temp = scanner.nextInt(); temp scanner.nextInt() scanner.nextInt scanner maxSideLength = Math.max(maxSideLength, temp) maxSideLength Math.max(maxSideLength, temp) Math.max Math maxSideLength temp totalLength += temp totalLength temp totalLength -= maxSideLength totalLength maxSideLength String result = (maxSideLength < totalLength) ? "Yes" : "No"; result (maxSideLength < totalLength) ? "Yes" : "No" (maxSideLength < totalLength) maxSideLength totalLength "Yes" "No" System.out.println(result) System.out.println System.out System System.out result scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int corner = scanner.nextInt();
		int totalLength = 0;
		int maxSideLength = 0;

		for(int i = 0; i < corner; ++i) {
			int temp = scanner.nextInt();
			maxSideLength = Math.max(maxSideLength, temp);
			totalLength += temp;
		}
		totalLength -= maxSideLength;

		String result = (maxSideLength < totalLength) ? "Yes" : "No";

		System.out.println(result);

		scanner.close();

	}

}