#include <iostream>
#include <string>
using namespace std;

int main() {
	
	string a("test");
	wstring b(L"test w");
	
	cout << a << endl;
	wcout << b << endl;
	
	wstring c(a.begin(), a.end());
	wcout << c << endl;
	
	string d(b.rbegin(), b.rend());
	cout << d << endl;
	
	return 0;
}