import java.util.Scanner;

/**
 * 
 * @author morisin
 * 
 */
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	}

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

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	}

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

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	} main {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int L[] = new int[100]; L new int[100] 100 int sum = 0; sum 0 int max = 0; max 0 boolean writable = false; writable false for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		} {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		} int input = sc.nextInt(); input sc.nextInt() sc.nextInt sc L[i] = input L[i] L i input sum += L[i] sum L[i] L i if (L[i] > max) {
				max = L[i];
			} L[i] > max L[i] L i max {
				max = L[i];
			} max = L[i] max L[i] L i if (max < sum - max) {
			writable = true;
		} max < sum - max max sum - max sum max {
			writable = true;
		} writable = true writable true System.out.println(writable ? "Yes" : "No") System.out.println System.out System System.out writable ? "Yes" : "No" writable "Yes" "No" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	}

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

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	}

} Main
import java.util.Scanner;

/**
 * 
 * @author morisin
 * 
 */
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		int L[] = new int[100];
		
		int sum = 0;
		int max = 0;
		boolean writable = false;
		
		for(int i=0;i<N;i++) {
			int input = sc.nextInt();
			L[i] = input;
			sum += L[i];
			if (L[i] > max) {
				max = L[i];
			}
		}
		
		if (max < sum - max) {
			writable = true;
		}
		
		System.out.println(writable ? "Yes" : "No");
	}

}
