#include #include using namespace std; void outs(stack t) { while (!t.empty()) { cout <<' '< t; t.push(0); t.push(1); t.push(2); outs(t); // 2 1 0 cout<