n = int(input()) E = list(map(int, input().split())) ans = 0 for bit in range(3**n): L = [0, 0, 0] bitc = bit for i in range(n): L[bitc % 3] += E[i] bitc //= 3 if L[0] == L[1] == L[2]: print("Yes") exit() print("No")