word = int(input())
word = str(word)
print(word[::-1])




整数转换成字符串进行逆序操作