N = int(input()) E = list(map(int,input().split())) if sum(E)%3 != 0: print("No") exit() ANS = sum(E)//3 for i in range(3**N): X = 0 Y = 0 I = i+0 for n in range(N): c = I // (3**(N-1-n)) if c == 0: X += E[n] elif c == 1: Y += E[n] I %=(3**(N-1-n)) #print(X,Y) if X == ANS and Y == ANS: print("Yes") exit() print("No")