import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

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

	static int sum(int a[]) {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	}
} 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();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

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

	static int sum(int a[]) {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

if(max<sum(a)-max){
	System.out.println("Yes");
}else{
	System.out.println("No");
}
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

if(max<sum(a)-max){
	System.out.println("Yes");
}else{
	System.out.println("No");
}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int a[] = new int[n + 1]; a new int[n + 1] n + 1 n 1 a[0] = 0 a[0] a 0 0 int max = 0; max 0 for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		} int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		} {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc if (max <= a[i]) {

				max = a[i];
			} max <= a[i] max a[i] a i {

				max = a[i];
			} max = a[i] max a[i] a i if(max<sum(a)-max){
	System.out.println("Yes");
}else{
	System.out.println("No");
} max<sum(a)-max max sum(a)-max sum(a) sum a 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 static int sum(int a[]) {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	} sum {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	} int n = a.length; n a.length a a.length int ans = 0; ans 0 for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		} int i = 1; int i = 1; i 1 i <= n - 1 i n - 1 n 1 i++ i++ i {
			ans += a[i];
		} {
			ans += a[i];
		} ans += a[i] ans a[i] a i return ans; ans int a[] a public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

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

	static int sum(int a[]) {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

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

	static int sum(int a[]) {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a[] = new int[n + 1];
		a[0] = 0;
		int max = 0;
		for (int i = 1; i <= n; i++) {
			a[i] = sc.nextInt();
			if (max <= a[i]) {

				max = a[i];
			}
		}

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

	static int sum(int a[]) {
		int n = a.length;
		int ans = 0;
		for (int i = 1; i <= n - 1; i++) {
			ans += a[i];
		}
		return ans;
	}
}