import sys """ 2024年3月14日15:38:59 解题思路 1、输入字符串 2、直接逆向输出 """ strList = input().strip() for i in strList[::-1]: print(i,end="")