#include <iostream>

class world
{
	private:
		print_nothing() {};
	public:
		print_something() { std::cerr << "something" << std::endl; };
};

namespace {
	class world1 : public class world
	{
		private:
			int x;
		public:
			world1(int y) {x = y};
			print() { std::cerr << x << std::endl; };
	};
}

namespace world2 {
	class world2 : public class world
	{
		private:
			int x;
		public:
			world2(int y) {x = y};
			print() { std::cerr << x << std::endl; };
	};
}

class world3 : public class world
{
	private:
		int x;
	public:
		world3(int y) {x = y};
		print() { std::cerr << x << std::endl; };
};
