from itertools import product n=int(input()) a = list(map(int,input().split())) cnt = 0 for p in product([0,1,2],repeat = n): t = [0]*3 for i in range(n): t[p[i]] += a[i] if t[0] == t[1] == t[2]: print('Yes') exit() print('No')