

"""simple docstring"""




from __future__ import annotations





def       lowercase__						(       snake_case_   :list			,		snake_case_   :int    ):
	# Checks if the entire collection has been sorted
	if len(snake_case_    ) <= 1 or n <= 1:
		return

	insert_next(snake_case_			,		n - 1    )
	rec_insertion_sort(snake_case_			,		n - 1    )





def       lowercase__						(       snake_case_   :list			,		snake_case_   :int    ):
	# Checks order between adjacent elements
	if index >= len(snake_case_    ) or collection[index - 1] <= collection[index]:
		return

	# Swaps adjacent elements since they are not in ascending order
	__UpperCAmelCase		,							__UpperCAmelCase      		= (
	    collection[index],
	    collection[index - 1],
	)

	insert_next(snake_case_			,		index + 1    )


if __name__ == "__main__":
				_lowercase   :	Any												=						input('Enter integers separated by spaces: ')
				_lowercase   :	list[int]												=						[int(num) for num in numbers.split()]
				rec_insertion_sort(number_list, len(number_list))
				print(number_list)




import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


lowerCamelCase__							:						int							     =   logging.get_logger(__name__)
class 		__magic_name__						(snake_case_				):





     '''simple docstring'''



     def __init__(					self:List[Any]     ,		*_a:Dict     ,		**_a:Tuple   ):
       warnings.warn(
           '''The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
           ''' Please use PerceiverImageProcessor instead.'''     ,		_a     ,		)
       super().__init__(*_a     ,		**_a   )

