#include<bits/stdc++.h> using namespace std; int main() { string s,lp; cin>>s; lp=s; reverse(s.begin(),s.end()); cout<<lp+s<<endl; lp=""; return 0; }
Saturday, July 23, 2016
688B - Lovely Palindromes
Labels:
Codeforces
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)