N = int(input()) E = list(map(int,input().split())) from itertools import product for p in product([0,1,2],repeat = N): A = [0]*3 for i in range(N): A[p[i]] += E[i] if A[0] == A[1] and A[1] == A[2]: print('Yes') exit() print('No')