#include <bits/stdc++.h>
using namespace std;
//#include <atcoder/all>
//using namespace atcoder;
using ll=long long;
using Graph=vector<vector<int>>;
#define MAX 1000000
#define MOD 1000000007
//#define INF 1000000000
#define INF 1000000000000000000

int main(){
  int N;
  cin>>N;
  vector<int> E(N);
  for(int i=0;i<N;i++){
    cin>>E[i];
  }
  int m=1;
  for(int i=0;i<N;i++){
    m*=3;
  }
  for(int i=0;i<m;i++){
    int a=0;
    int b=0;
    int c=0;
    int x=i;
    for(int j=0;j<N;j++){
      if(x%3==0){
        a+=E[j];
      }else if(x%3==1){
        b+=E[j];
      }else{
        c+=E[j];
      }
      x/=3;
    }
    if(a==b&&b==c){
      cout<<"Yes"<<endl;
      return 0;
    }
  }
  cout<<"No"<<endl;
}