#template

from collections import Counter

def inputlist(): return [int(j) for j in input().split()]

#template

N = int(eval(input()))

L = inputlist()

L.sort()

s = 0

for i in range(N-1):

    s += L[i]

if s > L[-1]:

    print("Yes")

else:

    print("No")
#template

def inputlist(): return [int(k) for k in input().split()]

#template

N = int(eval(input()))

L = inputlist()

L.sort()

s=sum(L)

s -=L[-1]

if L[-1] < s:

    print("Yes")

else:

    print("No")
# template
from collections import Counter


def inputlist():
    return [int(j) for j in input().split()]


# template
N = int(eval(input()))
L = inputlist()
L.sort()
s = 0
for i in range(N - 1):
    s += L[i]
if s > L[-1]:
    print("Yes")
else:
    print("No")

# template
def inputlist():
    return [int(k) for k in input().split()]


# template
N = int(eval(input()))
L = inputlist()
L.sort()
s = sum(L)
s -= L[-1]
if L[-1] < s:
    print("Yes")
else:
    print("No")

-from collections import Counter - - -    return [int(j) for j in input().split()] +    return [int(k) for k in input().split()] -s = 0 -for i in range(N - 1): -    s += L[i] -if s > L[-1]: +s = sum(L) +s -= L[-1] +if L[-1] < s: