
def a__       (			A_,	A_ = " "   ):






  '''simple docstring'''





  __magic_name__								=			[]

  __magic_name__								=			0
  for index, char in enumerate(A__   ):
    if char == separator:
      split_words.append(string[last_index:index]   )
      __magic_name__								=			index + 1
    elif index + 1 == len(A__   ):
      split_words.append(string[last_index : index + 1]   )
  return split_words


if __name__ == "__main__":
    from doctest import testmod

    testmod()




from __future__ import annotations





def 	__a     (      A__			:  list[int | str]       ):
    create_state_space_tree(A__			,  []			,  0			,  [0 for i in range(len(A__       )       )]       )





def 	__a     (      A__			:  list[int | str]			,  A__			:  list[int | str]			,  A__			:  int			,  A__			:  list[int]			,  ):

    if index == len(A__       ):
        print(A__       )
        return

    for i in range(len(A__       )       ):
        if not index_used[i]:
            current_sequence.append(sequence[i]       )
            SCREAMING_SNAKE_CASE										=   True
            create_state_space_tree(A__			,  A__			,  index + 1			,  A__       )
            current_sequence.pop()
            SCREAMING_SNAKE_CASE										=   False
__A			:					list[int | str]						=			[3, 1, 2, 4]
generate_all_permutations(sequence)

__A			:					list[int | str]						=			["A", "B", "C"]





generate_all_permutations(sequence_a)