#include<iostream>
using namespace std;
int main()
{
	char cha[21];
	cout<<"put the Character string"<<endl;
	cin>>cha;
	char* point_char=cha;
	for(;*point_char!='\0';point_char++);
	for(;point_char!=cha;)
	{
		point_char--;
		cout<<*point_char;
	}
	cout<<*(point_char-1)<<endl;
	return 0;
}