num = int(input("Enter a number: ")) print(str(num)[::-1])