#include <iostream>
#include <string>

using namespace std;

void
foo(const string &x)
{
	cout << x;
}

void
towers(int n, int from, int to, int spare)
{
	if(n > 0) {
		towers(n-1, from, spare, to);
		cout << "Move a disk from "<< from << " to " << to << endl;
		towers(n-1, spare, to, from);
	}
}

int main()
{
	towers(20, 1, 2, 3);

	string s("hello");

	foo("hello");
}

