import itertools n=int(input()) e=list(map(int,input().split())) bitdp=list(itertools.product([0,1,2],repeat=n)) t=0 ans=[0,0,0] for bit in bitdp: ans=[0,0,0] bitlis=list(bit) for i in range(n): ans[bitlis[i]]+=e[i] if ans[0]==ans[1] and ans[1]==ans[2] : print("Yes") t=1 break if t==0: print("No")