

import math



def  _A  (			SCREAMING_SNAKE_CASE			):
	if not isinstance(SCREAMING_SNAKE_CASE  ,SCREAMING_SNAKE_CASE			):
		UpperCAmelCase__:  List[Any]		       =   f"Input value of [number={number}] must be an integer"
		raise TypeError(SCREAMING_SNAKE_CASE			)
	if number < 1:
		UpperCAmelCase__:  List[str]		       =   f"Input value of [number={number}] must be a positive integer"
		raise ValueError(SCREAMING_SNAKE_CASE			)
	UpperCAmelCase__:  int		       =   [number]
	while number != 1:
		if number % 2 == 0:
			UpperCAmelCase__:  int		       =   math.floor(math.sqrt(SCREAMING_SNAKE_CASE			)			)
		else:
			UpperCAmelCase__:  List[Any]		       =   math.floor(
			    math.sqrt(SCREAMING_SNAKE_CASE			) * math.sqrt(SCREAMING_SNAKE_CASE			) * math.sqrt(SCREAMING_SNAKE_CASE			)			)
		sequence.append(SCREAMING_SNAKE_CASE			)
	return sequence


if __name__ == "__main__":
					import doctest

					doctest.testmod()


import numpy as np



def  _A  (			SCREAMING_SNAKE_CASE			):
	UpperCAmelCase__:  List[Any]		       =   np.exp(SCREAMING_SNAKE_CASE			)

	# Add up the all the exponentials
	UpperCAmelCase__:  str		       =   np.sum(SCREAMING_SNAKE_CASE			)

	# Divide every exponent by the sum of all exponents
	UpperCAmelCase__:  Tuple		       =   exponent_vector / sum_of_exponents

	return softmax_vector


if __name__ == "__main__":
					print(softmax((0,)))