N = int(input()) E = list(map(int, input().split())) for i in range(3**N): cls = [-1]*N for j in reversed(range(N)): cls[j] = i//(3**j) i %= 3**j sm = [0, 0, 0] for k in range(N): sm[cls[k]] += E[k] if sm[0]==sm[1]==sm[2]: print('Yes') exit() print('No')