import java.util.Scanner;

public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (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) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    }
  }
} Main public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    }
  } main {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    }
  } Scanner in = new Scanner(System.in); in new Scanner(System.in) while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    } in.hasNext() in.hasNext in {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    } int N = in.nextInt(); N in.nextInt() in.nextInt in int max = 0; max 0 int sum = 0; sum 0 for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      } int i = 0; int i = 0; i 0 i < N i N ++i ++i i {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      } {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      } int L = in.nextInt(); L in.nextInt() in.nextInt in max = Math.max(max, L) max Math.max(max, L) Math.max Math max L sum += L sum L sum -= max sum max if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 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) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    }
  }
} public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (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) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int N = in.nextInt();
      int max = 0;
      int sum = 0;
      
      for (int i = 0; i < N; ++i) {
        int L = in.nextInt();
        
        max = Math.max(max, L);
        sum += L;
      }
      
      sum -= max;
      
      if (sum > max) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
    }
  }
}