function Main(string){
  var line2 = string.split('\n')[1]
  var listInt = line2.split(' ').map(v=>+v)
  var head  = listInt.sort((a,b)=>a<b?-1:1).slice(0,-1)
  var max   =  listInt.sort((a,b)=>a<b?-1:1).slice(-1)[0]
  var headSum = head.reduce((s,v)=>s+v)
  console.log(max < headSum ? 'true' : 'false')
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
