from queue import LifoQueue

stack = LifoQueue()

raw_string = input('please type any and u get reverse of it ')

def reverse(array:list,len_array:int)->LifoQueue:
    """

    :param array: list of input string
    :param len_array: array length
    :return: sorted list
    """
    1

print(stack.queue(raw_string))