n=int(eval(input()))

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



s=sum(l)

m=max(l)

ans='Yes' if s>m*2 else 'No'

print(ans)
n=int(eval(input()))

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

print(('YNeos'[max(l)*2>=sum(l)::2]))
n = int(eval(input()))
l = list(map(int, input().split()))
s = sum(l)
m = max(l)
ans = "Yes" if s > m * 2 else "No"
print(ans)

n = int(eval(input()))
l = list(map(int, input().split()))
print(("YNeos"[max(l) * 2 >= sum(l) :: 2]))

-s = sum(l) -m = max(l) -ans = "Yes" if s > m * 2 else "No" -print(ans) +print(("YNeos"[max(l) * 2 >= sum(l) :: 2]))