n = int(input()) a = list(map(int,input().split())) if(sum(a) % 3 != 0): print('No') else: elem = sum(a) // 3 for i in range(3**n): lis1 = [] lis2 = [] lis3 = [] ind = set() for j in range(n): if((i >> j) & 2): lis1.append(a[j]) else: if((i >> j) & 1): lis2.append(a[j]) else: lis3.append(a[j]) ind.add(j) if(sum(lis1) == elem): if(sum(lis2) == elem): print('Yes') exit(0) print('No')