n = int(eval(input()))

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



li.sort()

if li[-1]*2 >= sum(li):

    print('No')

else:

    print('Yes')

N = int(eval(input()))

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



if 2*max(L)-sum(L) < 0:

    print('Yes')

else:

    print('No')

n = int(eval(input()))
li = list(map(int, input().split()))
li.sort()
if li[-1] * 2 >= sum(li):
    print("No")
else:
    print("Yes")

N = int(eval(input()))
L = [int(i) for i in input().split()]
if 2 * max(L) - sum(L) < 0:
    print("Yes")
else:
    print("No")

-n = int(eval(input())) -li = list(map(int, input().split())) -li.sort() -if li[-1] * 2 >= sum(li): +N = int(eval(input())) +L = [int(i) for i in input().split()] +if 2 * max(L) - sum(L) < 0: +    print("Yes") +else: -else: -    print("Yes")