import itertools n=int(input()) e=list(map(int,input().split())) l=["a","b","c"] h_list = list(itertools.product(l, repeat=n)) for h in h_list: a=0 b=0 c=0 for i in range(n): if h[i]=="a": a+=e[i] elif h[i]=="b": b+=e[i] else: c+=e[i] #print(a,b,c,h) if a==b and b==c: print("Yes") exit() print("No")