count = gets.chomp.to_i
numbers = gets.chomp.split(' ')
max = numbers.max
numbers.delete(max)
sum = numbers.inject{|sum,n| sum + n}
sum -= numbers.length
if max < sum
  puts 'Yes'
else
  puts 'NO'
end 