import itertools n = int(input()) elst = list(map(int, input().split())) for lst in itertools.product(range(3), repeat = n): tot = [0] * 3 for e, l in zip(elst, lst): tot[l] += e if tot[0] == tot[1] == tot[2]: print("Yes") exit() print("No")