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