



"""simple docstring"""







from functools import lru_cache

@lru_cache
def       _lowerCamelCase				(							UpperCAmelCase_ :       List[str]     )	-> int:






	"""simple docstring"""





	if num < 0:
		raise ValueError("Number should not be negative."     )

	return 1 if num in (0, 1) else num * factorial(num - 1     )


if __name__ == "__main__":
			import doctest

			doctest.testmod()








'''simple docstring'''
import baseaa




def 	_A  (       A							)  ->				bytes:
	return baseaa.aaaencode(string.encode("utf-8"							)							)




def 	_A  (       A							)  ->				str:
	return baseaa.aaadecode(A							).decode("utf-8"							)


if __name__ == "__main__":
					import doctest

					doctest.testmod()


