import sys # sys.setrecursionlimit(10 ** 9) # Codeforcesでは350000程度に def input(): return sys.stdin.readline().strip() n = int(input()) E = list(map(int, input().split())) for i in range(3**n): Es = [0] * 3 ii = i for j in range(n): Es[ii % 3] += E[j] ii //= 3 if Es[0] == Es[1] and Es[0] == Es[2]: print("Yes") sys.exit() print("No")