





def 					__lowerCamelCase       (							a_					:		list							)      ->				list:

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

      __SCREAMING_SNAKE_CASE       :int		    =  []

      def generate(a_					:		int			,       a_					:		list							):
            __SCREAMING_SNAKE_CASE       :Optional[Any]		    =  [0] * n
            res.append(tuple(lowercase_							)							)

            __SCREAMING_SNAKE_CASE       :Union[str, Any]		    =  0
            while i < n:
                  if c[i] < i:
                        if i % 2 == 0:
                              __SCREAMING_SNAKE_CASE    ,__SCREAMING_SNAKE_CASE       :Any		    =  arr[i], arr[0]
                        else:
                              __SCREAMING_SNAKE_CASE    ,__SCREAMING_SNAKE_CASE       :Dict		    =  arr[i], arr[c[i]]
                        res.append(tuple(lowercase_							)							)
                        c[i] += 1
                        __SCREAMING_SNAKE_CASE       :str		    =  0
                  else:
                        __SCREAMING_SNAKE_CASE       :List[Any]		    =  0
                        i += 1

      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))






"""simple docstring"""
def 					__lowerCamelCase       (							a_					:		str							)      ->				list:
      return [
          txt[:a] + txt[a].upper() + txt[a + 1 :]
          for a in range(len(a_							)							)
          if txt[a].isalpha()
      ]


if __name__ == "__main__":
  __import__("doctest").testmod()