import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException{
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {
  public static void main(String[] args) throws IOException{
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} Main public static void main(String[] args) throws IOException{
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  } main {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(in.readLine()); n Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in String[] str = in.readLine().split(" "); str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " int[] l = new int[n]; l new int[n] n int l_max = 0; l_max 0 int l_sum = 0; l_sum 0 for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    } {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    } l[i] = Integer.parseInt(str[i]) l[i] l i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i l_max = Math.max(l_max,l[i]) l_max Math.max(l_max,l[i]) Math.max Math l_max l[i] l i l_sum += l[i] l_sum l[i] l i if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No"); l_sum-l_max>l_max l_sum-l_max l_sum l_max l_max System.out.println("Yes") System.out.println System.out System System.out "Yes" 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 IOException{
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} public class Main {
  public static void main(String[] args) throws IOException{
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException{
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(in.readLine());
    String[] str = in.readLine().split(" ");
    int[] l = new int[n];
    int l_max = 0;
    int l_sum = 0;
    
    for(int i=0; i<n; i++) {
      l[i] = Integer.parseInt(str[i]);
      l_max = Math.max(l_max,l[i]);
      l_sum += l[i];
    }
    if(l_sum-l_max>l_max)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
}