
'use strict'

function main(input) {
  input = input.split('\n') //.map(v => ~~v)
  const n = ~~input[0]
  const L = input[1].split(' ').map(v => ~~v)
  L.sort((a, b) => b - a)

  const L0 = L.shift()
  const Lsum = L.reduce((a, b) => a + b)

  let ans = (L0 < Lsum) ? 'Yes' : 'No'
  console.log(ans)


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