n = eval(input())

L = list(map(int, input().split()))

print(('Yes' if sum(L) > 2 * max(L) else 'No'))



n = int(eval(input()))

l = list(map(int, input().split()))

if sum(l) > 2 * max(l):

  print('Yes')

else:

  print('No')
n = eval(input())
L = list(map(int, input().split()))
print(("Yes" if sum(L) > 2 * max(L) else "No"))

n = int(eval(input()))
l = list(map(int, input().split()))
if sum(l) > 2 * max(l):
    print("Yes")
else:
    print("No")

-n = eval(input()) -L = list(map(int, input().split())) -print(("Yes" if sum(L) > 2 * max(L) else "No")) +n = int(eval(input())) +l = list(map(int, input().split())) +if sum(l) > 2 * max(l): +    print("Yes") +else: +    print("No")