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