import math, sys N = int(input()) E = list(map(int, input().split())) if sum(E) % 3: print('No') sys.exit() for bit in range(2**N): A, B, C = [], [], [] rest = [] for i in range(N): if (bit >> i) & 1: A.append(E[i]) else: rest.append(E[i]) if sum(A) == sum(E) // 3: for bit in range(2**len(rest)): for j in range(len(rest)): if (bit >> j) & 1: B.append(rest[j]) else: C.append(rest[j]) if sum(B) == sum(C): print('Yes') sys.exit() print('No')