import algorithm echo stdin.readLine.reversed