eval(input())

l=[int(i) for i in input().split()]

print((["No","Yes"][max(l)<sum(l)-max(l)]))
eval(input())

l=[int(i) for i in input().split()]

print((["Yes","No"][max(l)-(sum(l)-max(l))>=0]))
eval(input())
l = [int(i) for i in input().split()]
print((["No", "Yes"][max(l) < sum(l) - max(l)]))

eval(input())
l = [int(i) for i in input().split()]
print((["Yes", "No"][max(l) - (sum(l) - max(l)) >= 0]))

-print((["No", "Yes"][max(l) < sum(l) - max(l)])) +print((["Yes", "No"][max(l) - (sum(l) - max(l)) >= 0]))