import 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];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"No");
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int a[]=new int[n];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"No");
	}
} Main public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int a[]=new int[n];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"No");
	} main {
		Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int a[]=new int[n];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"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]; a new int[n] n int max=0; max 0 int m=0; m 0 for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      } int i=0; int i=0; i 0 i<n i n i++ i++ i {
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      } {
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      } a[i]=sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc max=Math.max(max,a[i]) max Math.max(max,a[i]) Math.max Math max a[i] a i m+=a[i] m a[i] a i System.out.println((m>2*max)?"Yes":"No") System.out.println System.out System System.out (m>2*max)?"Yes":"No" (m>2*max) m 2*max 2 max "Yes" "No" String[]args args public class Main {
	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int a[]=new int[n];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"No");
	}
} public class Main {
	public static void main(String[]args) {
		Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int a[]=new int[n];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"No");
	}
} Main
import 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];
      int max=0;
      int m=0;
      for(int i=0;i<n;i++){
        a[i]=sc.nextInt();
        max=Math.max(max,a[i]);
        m+=a[i];
      }
      System.out.println((m>2*max)?"Yes":"No");
	}
}
