n = int(input()) e = list(map(int, input().split())) for bit in range(3 ** n): p = [0]*3 nw = bit for i in range(n): nw, c = divmod(nw, 3) p[c] += e[i] if p[0] == p[1] and p[1] == p[2]: print('Yes') exit() print('No')