





'''simple docstring'''






def 					_a						(       _lowerCamelCase ) ->				int:



			"""simple docstring"""


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







def 					_a						(       _lowerCamelCase ) ->				bool:



			"""simple docstring"""


			__snake_case					:      str							      =     0
			__snake_case					:      Any							      =     number
			while duplicate > 0:
						__snake_case      ,     __snake_case					:      Optional[int]							      =     divmod(_lowerCamelCase    ,	10 )
						fact_sum += factorial(_lowerCamelCase )
			return fact_sum == number


if __name__ == "__main__":
	print("Program to check whether a number is a Krisnamurthy Number or not.")
	__UpperCamelCase					    =	int(input("Enter number: ").strip())
	print(
	    f"""{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number."""
	)









'''simple docstring'''






import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


__UpperCamelCase					    =	HUGGINGFACE_HUB_CACHE


__UpperCamelCase					    =	"config.json"
__UpperCamelCase					    =	"diffusion_pytorch_model.bin"
__UpperCamelCase					    =	"diffusion_flax_model.msgpack"
__UpperCamelCase					    =	"model.onnx"
__UpperCamelCase					    =	"diffusion_pytorch_model.safetensors"
__UpperCamelCase					    =	"weights.pb"
__UpperCamelCase					    =	"https://huggingface.co"
__UpperCamelCase					    =	default_cache_path
__UpperCamelCase					    =	"diffusers_modules"
__UpperCamelCase					    =	os.getenv("HF_MODULES_CACHE", os.path.join(hf_cache_home, "modules"))
__UpperCamelCase					    =	["fp16", "non-ema"]
__UpperCamelCase					    =	".self_attn"


