n = int(eval(input()))

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

print(("Yes" if a[-1]<sum(a[:-1]) else "No"))
n = int(eval(input()))

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

if max(l)< sum(l)-max(l):

    print("Yes")

else:

    print("No")
n = int(eval(input()))
a = sorted(list(map(int, input().split())))
print(("Yes" if a[-1] < sum(a[:-1]) else "No"))

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

-a = sorted(list(map(int, input().split()))) -print(("Yes" if a[-1] < sum(a[:-1]) else "No")) +l = list(map(int, input().split())) +if max(l) < sum(l) - max(l): +    print("Yes") +else: +    print("No")