1//2;x=input();print(x+x[-2::-1]);"""x=prompt();alert(x.slice(0,-x.length/2))//"""
abcdefg
abcdefgfedcba
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!