import java.util.*;

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

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    try {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    try {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  } main {
    Scanner sc = new Scanner(System.in);
    try {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) try {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    } {
      sc.close();
    } sc.close() sc.close sc {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } int sum = 0; sum 0 int maxi = 0; maxi 0 int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      } {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      } int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc sum += a sum a if (maxi < a) maxi = a; maxi < a maxi a maxi = a maxi a System.out.println(maxi * 2 < sum ? "Yes" : "No") System.out.println System.out System System.out maxi * 2 < sum ? "Yes" : "No" maxi * 2 < sum maxi * 2 maxi 2 sum "Yes" "No" String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    try {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    try {
      int sum = 0;
      int maxi = 0;
      
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        int a = sc.nextInt();
        sum += a;
        if (maxi < a) maxi = a;
      }

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  }
} Main
import java.util.*;

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

      System.out.println(maxi * 2 < sum ? "Yes" : "No"); 
    } finally {
      sc.close();
    }
  }
}
