a = raw_input() ; b = a[1:] ; b = b[::-1] ; b=a[0]+b ; print b
chicken
cnekcih
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!