

from typing import TYPE_CHECKING

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


_a:    Optional[int] 							=			{
    """configuration_swiftformer""": [
        """SWIFTFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """SwiftFormerConfig""",
        """SwiftFormerOnnxConfig""",
    ]
}

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				_a:    str 							=			[
				    """SWIFTFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
				    """SwiftFormerForImageClassification""",
				    """SwiftFormerModel""",
				    """SwiftFormerPreTrainedModel""",
				]

if TYPE_CHECKING:
				from .configuration_swiftformer import (
				    SWIFTFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
				    SwiftFormerConfig,
				    SwiftFormerOnnxConfig,
				)

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_swiftformer import (
								    SWIFTFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
								    SwiftFormerForImageClassification,
								    SwiftFormerModel,
								    SwiftFormerPreTrainedModel,
								)

else:
				import sys

				_a:    Optional[Any] 							=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)


def       __lowerCAmelCase      (						A    ):
	if len(A    ) <= 1:
		return lst

	UpperCAmelCase_       				=			1

	while i < len(A    ):
		if lst[i - 1] <= lst[i]:
			i += 1
		else:
			UpperCAmelCase_				,   UpperCAmelCase_       				=			lst[i], lst[i - 1]
			i -= 1
			if i == 0:
				UpperCAmelCase_       				=			1

	return lst


if __name__ == "__main__":
				_a:    List[Any] 							=			input("""Enter numbers separated by a comma:\n""").strip()
				_a:    Optional[int] 							=			[int(item) for item in user_input.split(""",""")]
				print(gnome_sort(unsorted))