N = int(input()) E = list(map(int, input().split())) def BIT(n, c): return n//3**c%3 for bit in range(3**N): SUM = [0]*3 for i in range(N): SUM[BIT(bit, i)] += E[i] if len(set(SUM)) == 1: print("Yes") break else: print("No")