

from __future__ import annotations


def   __SCREAMING_SNAKE_CASE					(SCREAMING_SNAKE_CASE__  ,		SCREAMING_SNAKE_CASE__       ):
						# Checks if the entire collection has been sorted
						if len(SCREAMING_SNAKE_CASE__       ) <= 1 or n <= 1:
												return

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


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

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

						insert_next(SCREAMING_SNAKE_CASE__  ,		index + 1       )


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






from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__lowerCamelCase       :     Optional[int]   =     {"""configuration_mmbt""": ["""MMBTConfig"""]}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __lowerCamelCase       :     List[Any]   =     ["""MMBTForClassification""", """MMBTModel""", """ModalEmbeddings"""]


if TYPE_CHECKING:
    from .configuration_mmbt import MMBTConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_mmbt import MMBTForClassification, MMBTModel, ModalEmbeddings

else:
    import sys

    __lowerCamelCase       :     int   =     _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)
