const input = require('fs').readFileSync('/dev/stdin', 'utf8');

const list = input.split('\n');

const n = Number(list[0]);

const sublist = list[1].split(' ').map((i) => Number(i));

console.log(sublist);

const longest = Math.max.apply(null, sublist);

console.log(longest);

var total = sublist.reduce((a,c) => {
  return a + c;
});

console.log(total);

if (longest < total - longest) {
  console.log('Yes');
} else {
  console.log('No');
}
