






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






def 							A     (       a_					)     ->						bool:
					__UpperCamelCase      :					Union[str, Any]       		=0
					__UpperCamelCase      :					Optional[int]       		=number
					while duplicate > 0:
										__UpperCamelCase		,				__UpperCamelCase      :					Any       		=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.''')
							A_       :Tuple       =						int(input('''Enter number: ''').strip())
							print(
							    f"{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number."
							)




"""simple docstring"""





def   _A  (  UpperCamelCase_     :       Any)	->						List[str]:
   '''simple docstring'''


   __lowercase		,__lowercase								=						[], []
   while len(UpperCamelCase_) > 1:
      __lowercase		,__lowercase								=						min(UpperCamelCase_), max(UpperCamelCase_)
      start.append(UpperCamelCase_)
      end.append(UpperCamelCase_)
      collection.remove(UpperCamelCase_)
      collection.remove(UpperCamelCase_)
   end.reverse()
   return start + collection + end


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




