import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} Main public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int n = scn.nextInt(); n scn.nextInt() scn.nextInt scn int[] min = new int[n-1]; min new int[n-1] n-1 n 1 int max = scn.nextInt(); max scn.nextInt() scn.nextInt scn for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		} int i = 0; int i = 0; i 0 i<n-1 i n-1 n 1 i++ i++ i {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		} {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		} int x = scn.nextInt(); x scn.nextInt() scn.nextInt scn if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			} max<x max x {
				min[i]=max;
				max = x;
			} min[i]=max min[i] min i max max = x max x {
				min[i]=x;
			} min[i]=x min[i] min i x int sum = 0; sum 0 for(int x:min) {
			sum+=x;
		} int x min {
			sum+=x;
		} {
			sum+=x;
		} sum+=x sum x if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} max<sum max sum {
			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 {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		int[] min = new int[n-1];
		int max = scn.nextInt();;
		for(int i = 0;i<n-1;i++) {
			int x = scn.nextInt();
			if(max<x) {
				min[i]=max;
				max = x;
			}else {
				min[i]=x;
			}
		}
		int sum = 0;
		for(int x:min) {
			sum+=x;
		}
		if(max<sum) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
}