import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int[] l = new int[n]; l new int[n] n int max = 0; max 0 int max_i = 0; max_i 0 for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        } {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        } int num = Integer.parseInt(sc.next()); num Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if (num > max) {
                max = num;
              	max_i = i;
            } num > max num max {
                max = num;
              	max_i = i;
            } max = num max num max_i = i max_i i l[i] = num l[i] l i num int sum = 0; sum 0 for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        } {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        } if (i == max_i) {
            	continue;
            } i == max_i i max_i {
            	continue;
            } continue; sum += l[i] sum l[i] l i if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } max < sum max sum {
            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 sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        int[] l = new int[n];

        int max = 0;
      	int max_i = 0;

        for (int i = 0; i < n; i++) {
            int num = Integer.parseInt(sc.next());
            if (num > max) {
                max = num;
              	max_i = i;
            }
            l[i] = num;
        }
      
        int sum = 0;
        for (int i = 0; i < n; i++) {
          	if (i == max_i) {
            	continue;
            }
            sum += l[i];
        }
      
        if (max < sum) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}