import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	} main {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	} int N N max = 0 max 0 sum = 0; sum 0 int a[] = new int[100]; a new int[100] 100 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) N = sc.nextInt() N sc.nextInt() sc.nextInt sc for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		} {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sum = sum + a[i] sum sum + a[i] sum a[i] a i if(max < a[i]) {
				max = a[i];
			} max < a[i] max a[i] a i {
				max = a[i];
			} max = a[i] max a[i] a i if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} max < sum - max max sum - max sum max {
			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" sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int N, max = 0, sum = 0;
		int a[] = new int[100];

		Scanner sc = new Scanner(System.in);
		N = sc.nextInt();

		for(int i = 0; i < N; i++) {
			a[i] = sc.nextInt();
			sum = sum + a[i];

			if(max < a[i]) {
				max = a[i];
			}
		}

		if(max < sum - max) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}

}