
def    lowerCamelCase__				(				__lowerCAmelCase  :  int				):




			"""simple docstring"""


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






def    lowerCamelCase__				(				__lowerCAmelCase  :  int				):




			"""simple docstring"""


			lowerCAmelCase_						=	0
			lowerCAmelCase_						=	number
			while duplicate > 0:
						lowerCAmelCase_	,  lowerCAmelCase_						=	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.")
			_A   =     int(input("Enter number: ").strip())
			print(
			    f"""{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number."""
			)





from pathlib import Path

import fire






def    lowerCamelCase__				(				__lowerCAmelCase  :  str    ,							__lowerCAmelCase  :  str    ,							__lowerCAmelCase  :  int				):




			"""simple docstring"""


			lowerCAmelCase_						=	Path(__lowerCAmelCase				)
			lowerCAmelCase_						=	Path(__lowerCAmelCase				)
			dest_dir.mkdir(exist_ok=__lowerCAmelCase				)
			for path in src_dir.iterdir():
						lowerCAmelCase_						=	[x.rstrip() for x in list(path.open().readlines()				)][:n]
						lowerCAmelCase_						=	dest_dir.joinpath(path.name				)
						print(__lowerCAmelCase				)
						dest_path.open("w"				).write("\n".join(__lowerCAmelCase				)				)


if __name__ == "__main__":
			fire.Fire(minify)



