def main():

    N = int(eval(input()))

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

    sumL = sum(L)

    maxL = max(L)

    print(("Yes" if maxL < sumL - maxL else "No"))





if __name__ == '__main__':

    main()

def main():

    N = int(eval(input()))

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

    maxL = max(L)

    sumL = sum(L) - maxL

    if maxL < sumL:

        print("Yes")

    else:

        print("No")





if __name__ == '__main__':

    main()

def main():
    N = int(eval(input()))
    L = [int(i) for i in input().split()]
    sumL = sum(L)
    maxL = max(L)
    print(("Yes" if maxL < sumL - maxL else "No"))


if __name__ == "__main__":
    main()

def main():
    N = int(eval(input()))
    L = [int(i) for i in input().split()]
    maxL = max(L)
    sumL = sum(L) - maxL
    if maxL < sumL:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

-    sumL = sum(L) -    print(("Yes" if maxL < sumL - maxL else "No")) +    sumL = sum(L) - maxL +    if maxL < sumL: +        print("Yes") +    else: +        print("No")