import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;

public class Main {

	// Atcoder用のサンプルプログラム
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math import java.util.ArrayList; ArrayList java.util import java.util.HashMap; HashMap java.util import java.util.List; List java.util import java.util.Map; Map java.util import java.util.StringTokenizer; StringTokenizer java.util public class Main {

	// Atcoder用のサンプルプログラム
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
} Main // Atcoder用のサンプルプログラム
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		} Exception e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int N = Integer.parseInt(br.readLine()); N Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int sum = 0; sum 0 int max = 0; max 0 String[] n = br.readLine().split(" "); n br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			} {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			} int m = Integer.parseInt(n[i]); m Integer.parseInt(n[i]) Integer.parseInt Integer n[i] n i if (max < m) {
					max=m;
				} max < m max m {
					max=m;
				} max=m max m sum = sum+m sum sum+m sum m 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" String[] args args public class Main {

	// Atcoder用のサンプルプログラム
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
} public class Main {

	// Atcoder用のサンプルプログラム
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;

public class Main {

	// Atcoder用のサンプルプログラム
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			//line = br.readLine();
			
			int N = Integer.parseInt(br.readLine());
			int sum = 0;
			int max = 0;
			String[] n = br.readLine().split(" ");
			for (int i = 0;i < N;i++) {
				int m = Integer.parseInt(n[i]);
				if (max < m) {
					max=m;
				}
				sum = sum+m;
			}
			if (max < sum-max) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
