def interger(number):
            rev="".join(reversed(number))
            print(rev)

    # placeholder = 0

    # while number>0:
    #     placeholder=(placeholder*10)+(number%10)
    #     number=(number//10)
    # print (placeholder)

interger(input("Please input a number to be reversed: "))