#include using namespace std; #define ll long long #define rep(i, a, n) for (int i = (int)(a); i < (int)(n); i++) #define rrep(i, n, a) for (int i = (int)(n); i >= (int)(a); i--) void solve(){ int n; cin >> n; vector a(pow(2,n)); rep(i,0,pow(2,n)) cin >> a[i]; if(a[0] != 0){ cout << "No"; return; } rep(i,0,n){ rep(j,0,n){ int k = i ^ (1<> t; rep(i,0,t) solve(); return 0; }