
import re






def 						__magic_name__			(   __a      :	str						):



     '''simple docstring'''




     return [char.split() for char in re.split(R"""[^ a-z A-Z 0-9 \s]"""	,		str_						)]






def 						__magic_name__			(   __a      :	str						):



     '''simple docstring'''




     UpperCamelCase__				=    split_input(str_						)
     return "".join(
         ["""""".join([char.capitalize() for char in sub_str]						) for sub_str in string_split]						)






def 						__magic_name__			(   __a      :	str	,		__a      :	bool	,		__a      :	str						):



     '''simple docstring'''




     try:
          UpperCamelCase__				=    split_input(__a						)
          if upper:
               UpperCamelCase__				=    """""".join(
                   [
                       separator.join([char.upper() for char in sub_str]						)
                       for sub_str in string_split
                   ]						)
          else:
               UpperCamelCase__				=    """""".join(
                   [
                       separator.join([char.lower() for char in sub_str]						)
                       for sub_str in string_split
                   ]						)
          return res_str
     except IndexError:
          return "not valid string"






def 						__magic_name__			(   __a      :	str						):



     '''simple docstring'''




     return to_simple_case(__a						)






def 						__magic_name__			(   __a      :	str						):



     '''simple docstring'''




     try:
          UpperCamelCase__				=    to_simple_case(__a						)
          return res_str[0].lower() + res_str[1:]
     except IndexError:
          return "not valid string"






def 						__magic_name__			(   __a      :	str	,		__a      :	bool						):



     '''simple docstring'''




     return to_complex_case(__a	,		__a	,		"""_"""						)






def 						__magic_name__			(   __a      :	str	,		__a      :	bool						):



     '''simple docstring'''




     return to_complex_case(__a	,		__a	,		"""-"""						)


if __name__ == "__main__":
    __import__('''doctest''').testmod()







def 						__magic_name__			(   __a      :	int	,		__a      :	int						):



     '''simple docstring'''




     while a != 0:
          UpperCamelCase__		,	UpperCamelCase__				=    b % a, a
     return b






def 						__magic_name__			(   __a      :	int	,		__a      :	int						):



     '''simple docstring'''




     if gcd(__a	,		__a						) != 1:
          UpperCamelCase__				=    f"mod inverse of {a!r} and {m!r} does not exist"
          raise ValueError(__a						)
     UpperCamelCase__		,	UpperCamelCase__		,	UpperCamelCase__				=    1, 0, a
     UpperCamelCase__		,	UpperCamelCase__		,	UpperCamelCase__				=    0, 1, m
     while va != 0:
          UpperCamelCase__				=    ua // va
          UpperCamelCase__		,	UpperCamelCase__		,	UpperCamelCase__		,	UpperCamelCase__		,	UpperCamelCase__		,	UpperCamelCase__				=    (ua - q * va), (ua - q * va), (ua - q * va), va, va, va
     return ua % m





