from itertools import product N = int(input()) E = list(map(int, input().split())) ans = 0 for p in product([0, 1, 2], repeat = N): c = [0] * 3 for i in range(N): c[p[i]] += E[i] if len(set(c)) == 1: ans += 1 print("Yes" if ans > 0 else "No")