


'''simple docstring'''



def     _UpperCamelCase      (		UpperCamelCase__					):
			return 1 if digit in (0, 1) else (digit * factorial(digit - 1					))







def     _UpperCamelCase      (		UpperCamelCase__					):
			UpperCAmelCase__  :					List[Any]        =     0
			UpperCAmelCase__  :					Optional[int]        =     number
			while duplicate > 0:
						UpperCAmelCase__  :					List[Any]        =     divmod(UpperCamelCase__ ,      1_0					)
						fact_sum += factorial(UpperCamelCase__					)
			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."""
		)



'''simple docstring'''



def     _UpperCamelCase      (		UpperCamelCase__ ,      UpperCamelCase__ ,      UpperCamelCase__ ,      UpperCamelCase__					):
			if height >= 1:
						move_tower(height - 1 ,      UpperCamelCase__ ,      UpperCamelCase__ ,      UpperCamelCase__					)
						move_disk(UpperCamelCase__ ,      UpperCamelCase__					)
						move_tower(height - 1 ,      UpperCamelCase__ ,      UpperCamelCase__ ,      UpperCamelCase__					)







def     _UpperCamelCase      (		UpperCamelCase__ ,      UpperCamelCase__					):
			print("""moving disk from""" ,      UpperCamelCase__ ,      """to""" ,      UpperCamelCase__					)







def     _UpperCamelCase      (		):
			UpperCAmelCase__  :					List[str]        =     int(input("""Height of hanoi: """					).strip()					)
			move_tower(UpperCamelCase__ ,      """A""" ,      """B""" ,      """C"""					)


if __name__ == "__main__":
		main()