import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>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 sc = new Scanner(System.in);
        int length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>max) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>max) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    } main {
        Scanner sc = new Scanner(System.in);
        int length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>max) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int length = Integer.valueOf(sc.nextLine()); length Integer.valueOf(sc.nextLine()) Integer.valueOf Integer sc.nextLine() sc.nextLine sc String input = sc.nextLine(); input sc.nextLine() sc.nextLine sc String[] inputs = input.split(" "); inputs input.split(" ") input.split input " " int max = -1; max -1 1 int sum = 0; sum 0 for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        } String inputEntry inputs {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        } {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        } int number = Integer.valueOf(inputEntry); number Integer.valueOf(inputEntry) Integer.valueOf Integer inputEntry sum =sum + number sum sum + number sum number if(number>max) {
                max = number;
            } number>max number max {
                max = number;
            } max = number max number if((sum-max)>max) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        } (sum-max)>max (sum-max) sum max 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 sc = new Scanner(System.in);
        int length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>max) {
            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 length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>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 sc = new Scanner(System.in);
        int length = Integer.valueOf(sc.nextLine());
        String input = sc.nextLine();
        String[] inputs = input.split(" ");
        int max = -1;
        int sum = 0;
        for(String inputEntry: inputs) {
            int number = Integer.valueOf(inputEntry);
            sum =sum + number;
            if(number>max) {
                max = number;
            }
        }
        if((sum-max)>max) {
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }

    }
}
