N = eval(input())

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

print(('No' if max(L) >= sum(L[:-1]) else 'Yes'))
polygon_side = int(eval(input()))

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

if max(side_length) * 2 < sum(side_length):

    print('Yes')

else:

    print('No')
N = eval(input())
L = sorted(list(map(int, input().split())))
print(("No" if max(L) >= sum(L[:-1]) else "Yes"))

polygon_side = int(eval(input()))
side_length = list(map(int, input().split()))
if max(side_length) * 2 < sum(side_length):
    print("Yes")
else:
    print("No")

-N = eval(input()) -L = sorted(list(map(int, input().split()))) -print(("No" if max(L) >= sum(L[:-1]) else "Yes")) +polygon_side = int(eval(input())) +side_length = list(map(int, input().split())) +if max(side_length) * 2 < sum(side_length): +    print("Yes") +else: +    print("No")