# coding: utf-8

N = int(eval(input()))

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

print(( "Yes" if Ls.pop() < sum(Ls) else "No")) 
# coding: utf-8

N = int(eval(input()))

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

print(("Yes" if max(Ls) < sum(Ls) - max(Ls) else "No"))
# coding: utf-8
N = int(eval(input()))
Ls = sorted(list(map(int, input().split())))
print(("Yes" if Ls.pop() < sum(Ls) else "No"))

# coding: utf-8
N = int(eval(input()))
Ls = sorted(list(map(int, input().split())))
print(("Yes" if max(Ls) < sum(Ls) - max(Ls) else "No"))

-print(("Yes" if Ls.pop() < sum(Ls) else "No")) +print(("Yes" if max(Ls) < sum(Ls) - max(Ls) else "No"))