




from __future__ import annotations







def 	_a      (						SCREAMING_SNAKE_CASE_							:				list[int]     ):
					if len(SCREAMING_SNAKE_CASE_     ) == 0:
										return array

					__lowerCAmelCase   ,							__lowerCAmelCase				   =       min(SCREAMING_SNAKE_CASE_     ), max(SCREAMING_SNAKE_CASE_     )

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

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

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

    # Returns the sorted array.
					return array


if __name__ == "__main__":
					import doctest

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










import warnings

from diffusers import StableDiffusionImgaImgPipeline  # noqa F401


warnings.warn(
    """The `image_to_image.py` script is outdated. Please use directly `from diffusers import"""
    """ StableDiffusionImg2ImgPipeline` instead."""
)




