object Main extends App {
  val in = scala.io.Source.stdin.getLines.toSeq
  val ls = in.tail.head.split(' ').map(_.toLong).toArray
  val s = ls.sorted.reverse
  val longest = s.head
  val others = s.tail.sum
  val ret = if(longest < others) "YES" else "NO"
  println(ret)
}
