#include using namespace std; const int MAXN=7; const int d=30; int main() { int n; cin>>n; int a[1<>a[i]; if(a[i]!=-1){ ans[i]=a[i]; all=0; } } if(all){ cout<<"Yes"<=0; i--){ bool v[1<>i)&1)){ v[j]=0; } } while(1){ bool end=1; for(int j=0; j<(1<>i)&1)){ cout<<"No"<