N = int(input()) A = tuple(map(int, input().split())) for i in range(3**N): P = [0, 0, 0] tmp = i for j in range(N): P[tmp%3] += A[j] tmp //= 3 if P[0] == P[1] and P[1] == P[2]: print("Yes") exit() print("No")