


def 				lowerCAmelCase__	(    lowerCamelCase					:      str       ):
       return " ".join(input_str.split()[::-1]       )


if __name__ == "__main__":
   import doctest

   doctest.testmod()










'''simple docstring'''







from __future__ import annotations


class 			__lowerCamelCase			:
    """simple docstring"""


    def __init__(  self      :							Optional[Any]				,							SCREAMING_SNAKE_CASE      :							Tuple=None):
           _A					:     Any     = data
           _A					:     Optional[Any]     = None


    def __repr__(  self      :							List[str]):
           _A					:     List[Any]     = []
           _A					:     Any     = self
           while temp:
                  string_rep.append(F'{temp.data}')
                  _A					:     List[Any]     = temp.next
           return "->".join(SCREAMING_SNAKE_CASE)






def 				lowerCAmelCase__	(    lowerCamelCase					:      list       ):
       if not elements_list:
              raise Exception('The Elements List is empty'       )

       _A					:     Union[str, Any]     = Node(elements_list[0]       )
       for i in range(1  ,len(lowerCamelCase       )       ):
              _A					:     Dict     = Node(elements_list[i]       )
              _A					:     int     = current.next
       return head






def 				lowerCAmelCase__	(    lowerCamelCase					:      Node       ):
       if head_node is not None and isinstance(lowerCamelCase  ,lowerCamelCase       ):
              print_reverse(head_node.next       )
              print(head_node.data       )






def 				lowerCAmelCase__	(    ):
       from doctest import testmod

       testmod()

       _A					:     List[str]     = make_linked_list([14, 52, 14, 12, 43]       )
       print('Linked List:'       )
       print(lowerCamelCase       )
       print('Elements in Reverse:'       )
       print_reverse(lowerCamelCase       )


if __name__ == "__main__":
   main()






