import itertools def main(): N = int(input()) E = list(map(int,input().split())) A = [0,1,2] allL = itertools.product(A, repeat=N) for L in allL: P = [0,0,0] for i,x in enumerate(L): P[x] += E[i] if P[0] == P[1] == P[2]: print('Yes');exit() print('No') if __name__ == '__main__': main()