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