#include "stdafx.h"
#include <iostream> 
#include <algorithm> 
#include<string>
#include<algorithm>

using namespace std;

int main()
{

	int n;
	cout << "请输入操作数据";
	string A;
	cin >> A;
	int *b=new int (int(A.length()));
	for (int j = 1; j <=int( A.length()); j++)
	{
		b[j] = A[int(A.length()) - j];
	}
;
	string C;
	for (int i = 0; i <= int(A.length()); i++)
	{
		C += b[i];
	}
	for (int i = 0; i <= int(A.length()); i++)
	{
		b[i] = C[i];
	}
	cout << C;
	return 0;
}