



def    __lowerCamelCase						(      _lowercase	)   ->    int:
							return 1 if digit in (0, 1) else (digit * factorial(digit - 1	))



def    __lowerCamelCase						(      _lowercase	)   ->    bool:
							UpperCAmelCase  :	int							  =	0
							UpperCAmelCase  :	Union[str, Any]							  =	number
							while duplicate > 0:
														UpperCAmelCase  :	List[str]							  =	divmod(_lowercase			,       1_0	)
														fact_sum += factorial(_lowercase	)
							return fact_sum == number


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






'''simple docstring'''




from ...utils import is_torch_available, is_transformers_available


if is_transformers_available() and is_torch_available():
							from .pipeline_vq_diffusion import LearnedClassifierFreeSamplingEmbeddings, VQDiffusionPipeline

