import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			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 sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		}



	}

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

		Scanner sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		}



	} main {

		Scanner sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		}



	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int t = sc.nextInt(); t sc.nextInt() sc.nextInt sc int maxL = 0; maxL 0 int lSum = 0; lSum 0 for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		} int i= 0; int i= 0; i 0 i < t i t i++ i++ i {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		} {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		} int l = sc.nextInt(); l sc.nextInt() sc.nextInt sc if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			} l > maxL l maxL {
				lSum += maxL;
				maxL = l;
			} lSum += maxL lSum maxL maxL = l maxL l {
				lSum += l;
			} lSum += l lSum l if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		} maxL < lSum maxL lSum {

			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 sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		}



	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		}



	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int t = sc.nextInt();
		int maxL = 0;
		int lSum = 0;

		for(int i= 0; i < t; i++) {
			int l = sc.nextInt();
			if(l > maxL) {
				lSum += maxL;
				maxL = l;
			} else {
				lSum += l;
			}
		}

		if (maxL < lSum) {

			System.out.println("Yes");
		} else {
			System.out.println("No");

		}



	}

}
