




def 			a   (_lowerCAmelCase     ):
							return 1 if digit in (0, 1) else (digit * factorial(digit - 1     ))

def 			a   (_lowerCAmelCase     ):
							SCREAMING_SNAKE_CASE_   	=    0
							SCREAMING_SNAKE_CASE_   	=    number
							while duplicate > 0:
														SCREAMING_SNAKE_CASE_	,	SCREAMING_SNAKE_CASE_   	=    divmod(_lowerCAmelCase  ,    1_0     )
														fact_sum += factorial(_lowerCAmelCase     )
							return fact_sum == number


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








def 			a   (_lowerCAmelCase     ):
							SCREAMING_SNAKE_CASE_	,	SCREAMING_SNAKE_CASE_   	=    [], []
							while len(_lowerCAmelCase     ) > 1:
														SCREAMING_SNAKE_CASE_	,	SCREAMING_SNAKE_CASE_   	=    min(_lowerCAmelCase     ), max(_lowerCAmelCase     )
														start.append(_lowerCAmelCase     )
														end.append(_lowerCAmelCase     )
														collection.remove(_lowerCAmelCase     )
														collection.remove(_lowerCAmelCase     )
							end.reverse()
							return start + collection + end


if __name__ == "__main__":
			__SCREAMING_SNAKE_CASE 						=input("""Enter numbers separated by a comma:\n""").strip()
			__SCREAMING_SNAKE_CASE 						=[int(item) for item in user_input.split(""",""")]
			print(*merge_sort(unsorted), sep=""",""")


