

"""simple docstring"""






lowerCamelCase__			:					str							  =					[chr(i) for i in range(32, 1_26)]
lowerCamelCase__			:					Union[str, Any]							  =					list(range(len(alphabets)))
lowerCamelCase__			:					List[str]							  =					list(range(len(alphabets)))
lowerCamelCase__			:					Optional[int]							  =					list(range(len(alphabets)))
lowerCamelCase__			:					List[str]							  =					list(reversed(range(len(alphabets))))
lowerCamelCase__			:					Any							  =					[]
lowerCamelCase__			:					List[Any]							  =					0
def  UpperCamelCase   (     )			->     Any:
	global gear_one_pos
	global gear_two_pos
	global gear_three_pos
	_UpperCAmelCase      :							Union[str, Any]       =   gear_one[0]
	gear_one.append(_lowerCAmelCase	)
	del gear_one[0]
	gear_one_pos += 1
	if gear_one_pos % int(len(_lowerCAmelCase	)	) == 0:
		_UpperCAmelCase      :							Tuple       =   gear_two[0]
		gear_two.append(_lowerCAmelCase	)
		del gear_two[0]
		gear_two_pos += 1
		if gear_two_pos % int(len(_lowerCAmelCase	)	) == 0:
			_UpperCAmelCase      :							Optional[Any]       =   gear_three[0]
			gear_three.append(_lowerCAmelCase	)
			del gear_three[0]
			gear_three_pos += 1
def  UpperCamelCase   (     _lowerCAmelCase       :  str	)			->     Tuple:
	_UpperCAmelCase      :							int       =   alphabets.index(_lowerCAmelCase	)
	_UpperCAmelCase      :							Union[str, Any]       =   gear_one[target]
	_UpperCAmelCase      :							List[Any]       =   gear_two[target]
	_UpperCAmelCase      :							Dict       =   gear_three[target]
	_UpperCAmelCase      :							Optional[int]       =   reflector[target]
	_UpperCAmelCase      :							Tuple       =   gear_three.index(_lowerCAmelCase	)
	_UpperCAmelCase      :							List[str]       =   gear_two.index(_lowerCAmelCase	)
	_UpperCAmelCase      :							str       =   gear_one.index(_lowerCAmelCase	)
	code.append(alphabets[target]	)
	rotator()


if __name__ == "__main__":
						lowerCamelCase__			:					int							  =					list(input('''Type your message:\n'''))
						while True:
												try:
																		lowerCamelCase__			:					List[str]							  =					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!'''
						)








"""simple docstring"""






from math import factorial
def  UpperCamelCase   (     _lowerCAmelCase       :  Dict,					_lowerCAmelCase       :  List[str]	)			->     Dict:
	return factorial(_lowerCAmelCase	) / (factorial(_lowerCAmelCase	) * factorial(n - r	))
def  UpperCamelCase   (     )			->     Tuple:
	_UpperCAmelCase      :							Optional[int]       =   0

	for i in range(1,					101	):
		for j in range(1,					i + 1	):
			if combinations(_lowerCAmelCase,					_lowerCAmelCase	) > 1E6:
				total += 1
	return total


if __name__ == "__main__":
						print(solution())





