n = int(input()) a = list(map(int, input().split())) minv = min(a) maxv = max(a) ave = sum(a) if minv <= ave <= maxv: print("Yes") else: print("No")