#include
using namespace std;
void array(int* a,int n,int i,int* output,int j,int key){
//base case
if(i>=n){
int sum=0;
for(int k=0;k<j;k++){
sum=sum+output[k];
}
if(sum==key){
cout<<“yes”;
cout<<endl;
}else {
cout<<“No”<<endl;
}
return;
}
//recursive case
//exclude
array(a,n,i+1,output,j,key);
//include
output[j]=a[i];
array(a,n,i+1,output,j+1,key);
}
int main() {
int n;
cin>>n;
int a[100];
for(int i=0;i<n;i++){
cin>>a[i];
}
int output[100];
int key=0;
array(a,n,0,output,0,key);
}