

"""simple docstring"""






from __future__ import annotations





def 						lowercase   ( __UpperCamelCase    )			->   list[int]:
 if len(__lowerCAmelCase    ) == 0:
  return array

 __magic_name__ ,    __magic_name__	 =   min(__lowerCAmelCase    ), max(__lowerCAmelCase    )

 # Compute the variables
 __magic_name__	 =   _max - _min + 1
 __magic_name__ ,    __magic_name__	 =   [0] * holes_range, [0] * holes_range

 # Make the sorting.
 for i in array:
  __magic_name__	 =   i - _min
  __magic_name__	 =   i
  holes_repeat[index] += 1

 # Makes the array back by replacing the numbers.
 __magic_name__	 =   0
 for i in range(__lowerCAmelCase    ):
  while holes_repeat[i] > 0:
   __magic_name__	 =   holes[i]
   index += 1
   holes_repeat[i] -= 1

    # Returns the sorted array.
 return array


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 __lowerCamelCase					    =		input("Enter numbers separated by comma:\n")
 __lowerCamelCase					    =		[int(x) for x in user_input.split(",")]
 print(pigeon_sort(unsorted))








'''simple docstring'''




import os
from collections.abc import Iterator





def 	__lowerCamelCase			(      __lowerCAmelCase       :							str = "."		)		->  Iterator[str]:
   for dir_path, dir_names, filenames in os.walk(__lowerCAmelCase		):
      snake_case 						=   [d for d in dir_names if d != """scripts""" and d[0] not in """._"""]
      for filename in filenames:
         if filename == "__init__.py":
            continue
         if os.path.splitext(__lowerCAmelCase		)[1] in (".py", ".ipynb"):
            yield os.path.join(__lowerCAmelCase      ,    __lowerCAmelCase		).lstrip("""./"""		)





def 	__lowerCamelCase			(      __lowerCAmelCase       :							List[str]		)		->  Any:
   return F'''{i * "  "}*''' if i else "\n##"





def 	__lowerCamelCase			(      __lowerCAmelCase       :							str      ,    __lowerCAmelCase       :							str		)		->  str:
   snake_case 						=   old_path.split(os.sep		)
   for i, new_part in enumerate(new_path.split(os.sep		)		):
      if (i + 1 > len(__lowerCAmelCase		) or old_parts[i] != new_part) and new_part:
         print(F'''{md_prefix(__lowerCAmelCase		)} {new_part.replace("_"      ,    " "		).title()}'''		)
   return new_path





def 	__lowerCamelCase			(      __lowerCAmelCase       :							str = "."		)		->  None:
   snake_case 						=   """"""
   for filepath in sorted(good_file_paths(__lowerCAmelCase		)		):
      snake_case						,    snake_case 						=   os.path.split(__lowerCAmelCase		)
      if filepath != old_path:
         snake_case 						=   print_path(__lowerCAmelCase      ,    __lowerCAmelCase		)
      snake_case 						=   (filepath.count(os.sep		) + 1) if filepath else 0
      snake_case 						=   F'''{filepath}/{filename}'''.replace(""" """      ,    """%20"""		)
      snake_case 						=   os.path.splitext(filename.replace("""_"""      ,    """ """		).title()		)[0]
      print(F'''{md_prefix(__lowerCAmelCase		)} [{filename}]({url})'''		)


if __name__ == "__main__":
 print_directory_md(".")

