def main(): n = int(input()) a = list(map(int, input().split())) ans = False for id in range(3 ** n): i = id arr = [0] * 3 for j in range(n): arr[i % 3] += a[j] i //= 3 if arr[0] == arr[1] == arr[2]: ans = True break print("Yes" if ans else "No") main()