#include using namespace std; int A[20]; bool dfs(int i,int n,int a,int b,int c){ if(i==n){ return a==b && b==c; } bool ret = false; ret |= dfs(i+1,n,a+A[i],b,c); ret |= dfs(i+1,n,a,b+A[i],c); ret |= dfs(i+1,n,a,b,c+A[i]); return ret; } int main(){ int n;cin>>n; for(int i = 0; n > i; i++){ cin>>A[i]; } if(dfs(0,n,0,0,0)){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }