N = int(input()) E = list(map(int,input().split())) #3bit全探索 def base10int(value, base): if (int(value / base)): return base10int(int(value / base), base) + str(value % base) return str(value % base) f = 0 for i in range(3 ** N): now = base10int(i,3).zfill(N) A = 0 B = 0 C = 0 for j in range(N): if now[j] == "0": A += E[j] elif now[j] == "1": B += E[j] else: C += E[j] if A == B and B == C and A == C: f += 1 if f > 0: print("Yes") else: print("No")