

def 		SCREAMING_SNAKE_CASE__					(				_UpperCAmelCase					)       ->			List[Any]:



    '''simple docstring'''






    lowerCAmelCase					:      List[Any]           =   len(lowercase_					)
    for i in range(length - 1					):
        lowerCAmelCase					:      str           =   i
        for k in range(i + 1,   lowercase_					):
            if collection[k] < collection[least]:
                lowerCAmelCase					:      List[str]           =   k
        if least != i:
            lowerCAmelCase					:      str           =   (collection[i], collection[least])
    return collection


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












"""simple docstring"""


def        lowercase__     (       lowercase_      )       ->		list:




      """simple docstring"""

      if len(lowercase_      ) <= 1:
            return [tuple(lowercase_      )]

      _UpperCamelCase   :						Optional[Any]    =							[]

      def generate(lowercase_		,lowercase_      ):
            if k == 1:
                  res.append(tuple(arr[:]      )      )
                  return

            generate(k - 1		,lowercase_      )

            for i in range(k - 1      ):
                  if k % 2 == 0:  # k is even
                        _UpperCamelCase,	_UpperCamelCase   :						List[str]    =							arr[k - 1], arr[i]
                  else:  # k is odd
                        _UpperCamelCase,	_UpperCamelCase   :						int    =							arr[k - 1], arr[0]
                  generate(k - 1		,lowercase_      )

      generate(len(lowercase_      )		,lowercase_      )
      return res


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