#33386: python 其實超簡單(3句話解決)


free20061010@gmail.com (人生好累 and RickAstley!!)


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

 

#噹噹!!