import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * メインクラス
 *
 */
public class Main {

	/**
	 * メインメソッド
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	}
}	 import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util public class Main {

	/**
	 * メインメソッド
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	}
} Main /**
	 * メインメソッド
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	} main {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br long N = Long.parseLong(line); N Long.parseLong(line) Long.parseLong Long line List<Long> ls = new ArrayList<Long>(); ls new ArrayList<Long>() line = br.readLine() line br.readLine() br.readLine br for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		} String s line.split(" ") line.split line " " {
			ls.add(Long.valueOf(s));
		} {
			ls.add(Long.valueOf(s));
		} ls.add(Long.valueOf(s)) ls.add ls Long.valueOf(s) Long.valueOf Long s Collections.sort(ls) Collections.sort Collections ls long max = ls.get(ls.size() - 1); max ls.get(ls.size() - 1) ls.get ls ls.size() - 1 ls.size() ls.size ls 1 long others = 0; others 0 for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		} int i = 0; int i = 0; i 0 i < ls.size() - 1 i ls.size() - 1 ls.size() ls.size ls 1 i++ i++ i {
			others += ls.get(i);
		} {
			others += ls.get(i);
		} others += ls.get(i) others ls.get(i) ls.get ls i if (max < others) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} max < others max others {
			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 {

	/**
	 * メインメソッド
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	}
} public class Main {

	/**
	 * メインメソッド
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * メインクラス
 *
 */
public class Main {

	/**
	 * メインメソッド
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		// 標準入力を取得
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();

		long N = Long.parseLong(line);

		List<Long> ls = new ArrayList<Long>();
		line = br.readLine();
		for (String s : line.split(" ")) {
			ls.add(Long.valueOf(s));
		}
		Collections.sort(ls);

		long max = ls.get(ls.size() - 1);
		long others = 0;

		for (int i = 0; i < ls.size() - 1; i++) {
			others += ls.get(i);
		}

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

	}
}	