与数字颠倒方法相同

while True:
try:
s1=input()
s1=list(s1)
s=list(reversed(s1))
print("".join(s))
except:
break