#include #include int main() { int n; scanf("%d", &n); int nn=pow(2, n), tn=nn; int arr[nn][n+1]; for (int i=0; i