import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	}

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

	public static void main(String[] args) {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	}

} Main public static void main(String[] args) {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	} main {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	} Scanner scanner =new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int[] edge = new int[N]; edge new int[N] N for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			edge[i] = scanner.nextInt();
		} {
			edge[i] = scanner.nextInt();
		} edge[i] = scanner.nextInt() edge[i] edge i scanner.nextInt() scanner.nextInt scanner Arrays.sort(edge) Arrays.sort Arrays edge int sum = 0; sum 0 for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		} int i = 0; int i = 0; i 0 i < N-1 i N-1 N 1 i++ i++ i {
			sum+=edge[i];
		} {
			sum+=edge[i];
		} sum+=edge[i] sum edge[i] edge i if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} sum > edge[N-1] sum edge[N-1] edge N-1 N 1 {
			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" scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	}

} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner scanner =new Scanner(System.in);
		int N = scanner.nextInt();
		int[] edge = new int[N];
		for (int i = 0; i < N; i++) {
			edge[i] = scanner.nextInt();
		}

		Arrays.sort(edge);

		int sum = 0;

		for (int i = 0; i < N-1; i++) {
			sum+=edge[i];
		}

		if (sum > edge[N-1]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		scanner.close();
	}

}
