function main(input) {
  const args = input.split('\n');
  const N = parseInt(args[0], 10);
  let ary = args[1].split(' ').map(n => parseInt(n, 10));
  let max;
  let total = 0;
  
  ary.sort((a, b) => { return b - a });
  
  for (let i = 0; i < ary.length; i++) {
    if (i === 0) { 
      max = ary[0];
    } else {
      total += ary[i];
    }
  }
  
  (max < total) ? console.log('Yes') : console.log('No');
  
}

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