#include <iostream>

struct System_
{
	struct out_
	{
		template <typename T>
		void println(const T& var)
		{
			std::cout << var << '\n';
		}
	} out;
} System;

int main()
{
	System.out.println("Hello Java-in-C++ World!");
}
