


'''simple docstring'''






def       _snake_case     (  A = 10**12 )		->					int:
							lowerCAmelCase__      =			1
							lowerCAmelCase__      =			0

							lowerCAmelCase__      =			1
							lowerCAmelCase__      =			1

							while numerator <= 2 * min_total - 1:
														prev_numerator += 2 * numerator
														numerator += 2 * prev_numerator

														prev_denominator += 2 * denominator
														denominator += 2 * prev_denominator

							return (denominator + 1) // 2


if __name__ == "__main__":
		print(f"""{solution() = }""")



'''simple docstring'''






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


def       _snake_case     (  A )		->					bool:
							lowerCAmelCase__      =			0
							lowerCAmelCase__      =			number
							while duplicate > 0:
														lowerCAmelCase__     ,      lowerCAmelCase__      =			divmod(A				,					10 )
														fact_sum += factorial(A )
							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."""
		)