import java.io.*;
import java.util.*;
import java.math.BigInteger;
public class Main {
static  Scanner sc = new Scanner(System.in);


public static void main(String[] args) {

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



}

}

 import java.io.*; io.* java import java.util.*; util.* java import java.math.BigInteger; BigInteger java.math public class Main {
static  Scanner sc = new Scanner(System.in);


public static void main(String[] args) {

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



}

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

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



} main {

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



} int N=Integer.parseInt(sc.nextLine()); N Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc String[] nyu=sc.nextLine().split(" "); nyu sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int[] num=new int[nyu.length]; num new int[nyu.length] nyu.length nyu nyu.length for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
} int i=0; int i=0; i 0 i<nyu.length i nyu.length nyu nyu.length i++ i++ i {
num[i]=Integer.parseInt(nyu[i]);
} {
num[i]=Integer.parseInt(nyu[i]);
} num[i]=Integer.parseInt(nyu[i]) num[i] num i Integer.parseInt(nyu[i]) Integer.parseInt Integer nyu[i] nyu i Arrays.sort(num) Arrays.sort Arrays num int min=0; min 0 for(int i=0;i<nyu.length-1;i++){
min+=num[i];
} int i=0; int i=0; i 0 i<nyu.length-1 i nyu.length-1 nyu.length nyu nyu.length 1 i++ i++ i {
min+=num[i];
} {
min+=num[i];
} min+=num[i] min num[i] num i if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No"); num[num.length-1]<min num[num.length-1] num num.length-1 num.length num num.length 1 min 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 {
static  Scanner sc = new Scanner(System.in);


public static void main(String[] args) {

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



}

} public class Main {
static  Scanner sc = new Scanner(System.in);


public static void main(String[] args) {

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



}

} Main
import java.io.*;
import java.util.*;
import java.math.BigInteger;
public class Main {
static  Scanner sc = new Scanner(System.in);


public static void main(String[] args) {

int N=Integer.parseInt(sc.nextLine());

String[] nyu=sc.nextLine().split(" ");
int[] num=new int[nyu.length];

for(int i=0;i<nyu.length;i++){
num[i]=Integer.parseInt(nyu[i]);
}
Arrays.sort(num);
int min=0;
for(int i=0;i<nyu.length-1;i++){
min+=num[i];
}
if(num[num.length-1]<min)
System.out.println("Yes");
else
System.out.println("No");



}

}


