


def 			__lowercase	(						_UpperCamelCase     )    ->Any:







      """simple docstring"""

      lowercase			:   Optional[Any]					   =		len(_UpperCamelCase     )
      for _ in range(
          0,    int(((no_of_elements - 1) / 2) + 1     )     ):  # we don't need to traverse to end of list as
            for j in range(0,    no_of_elements - 1     ):
                  if (
                      lst[j + 1] < lst[j]
                  ):  # applying bubble sort algorithm from left to right (or forwards)
                        lowercase			:   List[Any]					   =		lst[j + 1]
                        lowercase			:   Optional[Any]					   =		lst[j]
                        lowercase			:   str					   =		temp
                  if (
                      lst[no_of_elements - 1 - j] < lst[no_of_elements - 2 - j]
                  ):  # applying bubble sort algorithm from right to left (or backwards)
                        lowercase			:   Any					   =		lst[no_of_elements - 1 - j]
                        lowercase			:   Optional[Any]					   =		lst[no_of_elements - 2 - j]
                        lowercase			:   Dict					   =		temp
      return lst


if __name__ == "__main__":
  print('''enter the list to be sorted''')
  __a   				=      [int(x) for x in input().split()]  # inputing elements of the list in one line
  __a   				=      double_sort(lst)
  print('''the sorted list is''')
  print(sorted_lst)




from __future__ import annotations




def 			__lowercase	(						_UpperCamelCase     )    ->list[int]:







      """simple docstring"""

      assert (
          isinstance(_UpperCamelCase,    _UpperCamelCase     ) and mask > 0
      ), f"""mask needs to be positive integer, your input {mask}"""
      lowercase			:   Optional[int]					   =		[]
      lowercase			:   Optional[int]					   =		mask

      while submask:
            all_submasks.append(_UpperCamelCase     )
            lowercase			:   Dict					   =		(submask - 1) & mask

      return all_submasks


if __name__ == "__main__":
  import doctest

  doctest.testmod()

