#include #include using namespace std; const int n=4; const int m=2; int a[n]; bool b[n]; void step(int j) { for (int k=0; k0) {yes = (a[j-1]