from itertools import product N=int(input()) E=list(map(int,input().split())) X=0 for c in product((0,1,2),repeat=N): P=[0,0,0] for i in range(N): P[c[i]]+=E[i] if P[0]==P[1]==P[2]: X=1 print("Yes" if X else "No")