//let input = "4\n3 8 5 1";

function main(input){
let line1 = input.split("\n")[0];
let line2 = input.split("\n")[1];
let n = parseInt(line1);
let ls = line2.split(" ");
for(let i=0; i<ls.length; i++){
  ls[i] = parseInt(ls[i]);
}

function compareFunc(a, b) {
  return b- a;
} 
ls.sort(compareFunc);

let max = ls[0];
let sum = 0;
  for(let i=1;i<ls.length; i++){
    sum += ls[i];
  }
  let answer="";
  if(max<sum){
    answer="Yes";
  }else{
    answer="No";
  }
console.log(answer)
}

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