import java.util.Scanner;

public class Main {
  public static void main(String[] args ) throws Exception {
	  Scanner scan = new Scanner(System.in);
	  int N = scan.nextInt();
	  int[] hoge = new int[N];
	  int max = 0;
	  int sum = 0;
	  for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  }

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

	  if( max < sum - max ) {
		  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 ) throws Exception {
	  Scanner scan = new Scanner(System.in);
	  int N = scan.nextInt();
	  int[] hoge = new int[N];
	  int max = 0;
	  int sum = 0;
	  for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  }

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

	  if( max < sum - max ) {
		  System.out.println("Yes");
	  }else {
		  System.out.println("No");
	  }
  }
} Main public static void main(String[] args ) throws Exception {
	  Scanner scan = new Scanner(System.in);
	  int N = scan.nextInt();
	  int[] hoge = new int[N];
	  int max = 0;
	  int sum = 0;
	  for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  }

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

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

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

	  if( max < sum - max ) {
		  System.out.println("Yes");
	  }else {
		  System.out.println("No");
	  }
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int[] hoge = new int[N]; hoge new int[N] N int max = 0; max 0 int sum = 0; sum 0 for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
		 hoge[i] = scan.nextInt();
	  } {
		 hoge[i] = scan.nextInt();
	  } hoge[i] = scan.nextInt() hoge[i] hoge i scan.nextInt() scan.nextInt scan for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
		 sum += hoge[i];
	  } {
		 sum += hoge[i];
	  } sum += hoge[i] sum hoge[i] hoge i for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  } {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  } if( max < hoge[i] ) {
			 max = hoge[i];
		 } max < hoge[i] max hoge[i] hoge i {
			 max = hoge[i];
		 } max = hoge[i] max hoge[i] hoge i 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 {
  public static void main(String[] args ) throws Exception {
	  Scanner scan = new Scanner(System.in);
	  int N = scan.nextInt();
	  int[] hoge = new int[N];
	  int max = 0;
	  int sum = 0;
	  for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  }

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

	  if( max < sum - max ) {
		  System.out.println("Yes");
	  }else {
		  System.out.println("No");
	  }
  }
} public class Main {
  public static void main(String[] args ) throws Exception {
	  Scanner scan = new Scanner(System.in);
	  int N = scan.nextInt();
	  int[] hoge = new int[N];
	  int max = 0;
	  int sum = 0;
	  for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  }

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

	  if( max < sum - max ) {
		  System.out.println("Yes");
	  }else {
		  System.out.println("No");
	  }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args ) throws Exception {
	  Scanner scan = new Scanner(System.in);
	  int N = scan.nextInt();
	  int[] hoge = new int[N];
	  int max = 0;
	  int sum = 0;
	  for( int i = 0; i < N; i++  ) {
		 hoge[i] = scan.nextInt();
	  }

	  for( int i = 0; i < N; i++  ) {
		 sum += hoge[i];
	  }
	  for( int i = 0; i < N; i++  ) {
		 if( max < hoge[i] ) {
			 max = hoge[i];
		 }
	  }

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