



"""simple docstring"""

import numpy as np



def   UpperCamelCase__     (		lowercase__  :     Optional[Any]   ):
		snake_case		:						Optional[Any]								=				np.exp(SCREAMING_SNAKE_CASE__   )

		# Add up the all the exponentials
		snake_case		:						Optional[Any]								=				np.sum(SCREAMING_SNAKE_CASE__   )

		# Divide every exponent by the sum of all exponents
		snake_case		:						Dict								=				exponent_vector / sum_of_exponents

		return softmax_vector


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







"""simple docstring"""

import random



def   UpperCamelCase__     (		lowercase__  :     Union[str, Any]   ):

		def is_sorted(lowercase__  :     int   ):
				for i in range(len(lowercase__   ) - 1   ):
						if collection[i] > collection[i + 1]:
								return False
				return True

		while not is_sorted(lowercase__   ):
				random.shuffle(lowercase__   )
		return collection


if __name__ == "__main__":
							__A 		=			input("Enter numbers separated by a comma:\n").strip()
							__A 		=			[int(item) for item in user_input.split(",")]
							print(bogo_sort(unsorted))

