#41284: python


suyueh (suyueh)


a=input()
print(int(a[::-1]))
#42014: Re: python


ss970324 (.......)


a=input()
print(int(a[-1::-1]))