function main(input) {
    const args = input.split('\n');
    const N = parseInt(args[0], 10);
    const L = args[1].split(' ').map(Number).sort(A)
  
    if(B(L,N)) console.log("Yes")
    else console.log("No")
}

var A = (a,b)=>{
  if( a > b ) return -1;
        if( a < b ) return 1;
        return 0;
}

var B = (l,n)=>{
	var M = l[0]
    var m = 0
    for(var i=1;i<n;i++){
    	m += l[i]
    }
  if(M>=m) return false
  else return true
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));