
"""simple docstring"""







from dataclasses import dataclass
from enum import Enum
from typing import List, Optional, Union

import numpy as np
import PIL
from PIL import Image

from ...utils import BaseOutput, is_torch_available, is_transformers_available




@dataclass
class 			A__	(     _lowerCamelCase):
  A_						:	Union[List[PIL.Image.Image], np.ndarray]
  A_						:	Optional[List[bool]]


if is_transformers_available() and is_torch_available():
       from .pipeline_semantic_stable_diffusion import SemanticStableDiffusionPipeline

"""simple docstring"""







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

	__lowerCAmelCase      :						str						      =				1

	while i < len(_UpperCamelCase		):
		if lst[i - 1] <= lst[i]:
			i += 1
		else:
			__lowerCAmelCase      ,       __lowerCAmelCase      :						List[Any]						      =				lst[i], lst[i - 1]
			i -= 1
			if i == 0:
				__lowerCAmelCase      :						int						      =				1

	return lst


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