n = gets.chomp.to_i
l = gets.chomp.split(' ').map{|x|x.to_i}.slice(0, n)

def writable(l)
    max = l.max
    sum = l.sum
    (sum - max) > max
end

p writable(n, l)
# if writable(l)
#     p 'Yes'
# else
#     p 'No'
# end