






"""simple docstring"""
def 				snake_case      (   A__						):

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

			UpperCAmelCase_     : Dict			     =					[]

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

						generate(k - 1	,A__						)

						for i in range(k - 1						):
									if k % 2 == 0:  # k is even
												UpperCAmelCase_     ,	UpperCAmelCase_     : Optional[int]			     =					arr[k - 1], arr[i]
									else:  # k is odd
												UpperCAmelCase_     ,	UpperCAmelCase_     : Tuple			     =					arr[k - 1], arr[0]
									generate(k - 1	,A__						)

			generate(len(A__						)	,A__						)
			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"""
import warnings

from diffusers import StableDiffusionInpaintPipeline as StableDiffusionInpaintPipeline  # noqa F401


warnings.warn(
    '''The `inpainting.py` script is outdated. Please use directly `from diffusers import'''
    ''' StableDiffusionInpaintPipeline` instead.'''
)



