#31303: answer(python)


Examination (Test)


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