n = gets.chomp.to_i
line = gets.chomp.split(" ").map(&:to_i)

max = 0
total = 0
line.each do |num|
    if max < num
        total += max
        max = num
        next
    end
    total += num
end

puts max < total ? "Yes" : "No"
