import sys
from itertools import product
sys.setrecursionlimit(10**7)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def LS2(): return list(sys.stdin.readline().rstrip())


N = I()
E = LI()
s = sum(E)

if s % 3 != 0:
    print('No')
    exit()

for A in list(product([0,1,2],repeat=N)):
    x,y,z = 0,0,0
    for i in range(N):
        if A[i] == 0:
            x += E[i]
        elif A[i] == 1:
            y += E[i]
        else:
            z += E[i]
    if x == y == z:
        print('Yes')
        break
else:
    print('No')