import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

//AtCoder Beginner Contest 117
//B	Polygon
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	}
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util 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();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc List<Integer> in = new ArrayList<>(); in new ArrayList<>() for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			in.add(sc.nextInt());
		} {
			in.add(sc.nextInt());
		} in.add(sc.nextInt()) in.add in sc.nextInt() sc.nextInt sc sc.close() sc.close sc int max = Collections.max(in); max Collections.max(in) Collections.max Collections in int sum = 0; sum 0 for (Integer i : in) {
			sum += i;
		} Integer i in {
			sum += i;
		} {
			sum += i;
		} sum += i sum i System.out.println((sum - max) > max ? "Yes" : "No") System.out.println System.out System System.out (sum - max) > max ? "Yes" : "No" (sum - max) > max (sum - max) sum max max "Yes" "No" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

//AtCoder Beginner Contest 117
//B	Polygon
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		List<Integer> in = new ArrayList<>();

		for (int i = 0; i < N; i++) {
			in.add(sc.nextInt());
		}
		sc.close();

		int max = Collections.max(in);
		int sum = 0;
		for (Integer i : in) {
			sum += i;
		}

		System.out.println((sum - max) > max ? "Yes" : "No");

	}
}
