n = int(input()) A = list(map(int, input().split())) A.sort() tot = sum(A) for a in A: if a * (tot - a) <= 0: print("Yes") exit() print("No")