Coding
Coding
h>
#define ll long long int
#define nl '\n'
#define vi vector<ll>
#define pb push_back
#define F first
#define S second
#define all(c) c.begin(), c.end()
#define io ios_base::sync_with_stdio(false);cin.tie(NULL);
#define pi 3.141592653589793238462643383279502884197169399
const ll mod = 1e9+7;
using namespace std;
bool prime(ll n)
{
return true;
}
bool isPowerOfTwo(ll n)
{
if(n==0)
return false;
bool prime[n+1];
memset(prime, true, sizeof(prime));
if (prime[p] == true)
{
int main()
{
io;
ll t,i,l,r,m,n,j;
//cin>>t;
t=1;
while(t--)
{
string s;
cin>>s;
cout<<s;
reverse(all(s));
cout<<s;