## https://atcoder.jp/contests/abc349/tasks/abc349_e def main(): N = int(input()) E = list(map(int, input().split())) for bit in range(3 ** N): p = [0, 0 ,0] for i in range(N): b = bit % 3 p[b] += E[i] bit //= 3 if p[0] == p[1] and p[1] == p[2]: print("Yes") return print("No") if __name__ == "__main__": main()