



"""simple docstring"""






def 	snake_case__  (						__lowerCamelCase							:       list      ):
			"""simple docstring"""
			if len(__lowerCamelCase      ) <= 1:
						return data
			else:
						return [
						    *quick_sort([e for e in data[1:] if e <= data[0]]      ),
						    data[0],
						    *quick_sort([e for e in data[1:] if e > data[0]]      ),
						]


if __name__ == "__main__":
		import doctest

		doctest.testmod()






'''simple docstring'''


__SCREAMING_SNAKE_CASE						=      [chr(i) for i in range(32, 126)]
__SCREAMING_SNAKE_CASE						=      list(range(len(alphabets)))
__SCREAMING_SNAKE_CASE						=      list(range(len(alphabets)))
__SCREAMING_SNAKE_CASE						=      list(range(len(alphabets)))
__SCREAMING_SNAKE_CASE						=      list(reversed(range(len(alphabets))))
__SCREAMING_SNAKE_CASE						=      []
__SCREAMING_SNAKE_CASE						=      __SCREAMING_SNAKE_CASE						=      __SCREAMING_SNAKE_CASE						=      0
def 					__magic_name__(       ):
						global gear_one_pos
						global gear_two_pos
						global gear_three_pos
						UpperCamelCase_     :	List[Any]					     =     gear_one[0]
						gear_one.append(UpperCAmelCase__	)
						del gear_one[0]
						gear_one_pos += 1
						if gear_one_pos % int(len(UpperCAmelCase__	)	) == 0:
												UpperCamelCase_     :	List[str]					     =     gear_two[0]
												gear_two.append(UpperCAmelCase__	)
												del gear_two[0]
												gear_two_pos += 1
												if gear_two_pos % int(len(UpperCAmelCase__	)	) == 0:
																		UpperCamelCase_     :	List[Any]					     =     gear_three[0]
																		gear_three.append(UpperCAmelCase__	)
																		del gear_three[0]
																		gear_three_pos += 1
def 					__magic_name__(       UpperCAmelCase__ :       int	):
						UpperCamelCase_     :	Any					     =     alphabets.index(UpperCAmelCase__	)
						UpperCamelCase_     :	List[str]					     =     gear_one[target]
						UpperCamelCase_     :	str					     =     gear_two[target]
						UpperCamelCase_     :	int					     =     gear_three[target]
						UpperCamelCase_     :	Union[str, Any]					     =     reflector[target]
						UpperCamelCase_     :	Dict					     =     gear_three.index(UpperCAmelCase__	)
						UpperCamelCase_     :	Optional[int]					     =     gear_two.index(UpperCAmelCase__	)
						UpperCamelCase_     :	Optional[int]					     =     gear_one.index(UpperCAmelCase__	)
						code.append(alphabets[target]	)
						rotator()


if __name__ == "__main__":
	__SCREAMING_SNAKE_CASE						=      list(input("Type your message:\n"))
	while True:
		try:
			__SCREAMING_SNAKE_CASE						=      int(input("Please set token:(must be only digits)\n"))
			break
		except Exception as error:
			print(error)
	for _ in range(token):
		rotator()
	for j in decode:
		engine(j)
	print("\n" + "".join(code))
	print(
	    f"\nYour Token is {token} please write it down.\nIf you want to decode "
	    "this message again you should input same digits as token!"
	)




