



"""simple docstring"""






def 			snake_case		(		lowerCAmelCase_	)						->				list:

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

  _snake_case   	=      []

  def generate(lowerCAmelCase_  ,						lowerCAmelCase_	):
    _snake_case   	=      [0] * n
    res.append(tuple(lowerCAmelCase_	)	)

    _snake_case   	=      0
    while i < n:
      if c[i] < i:
        if i % 2 == 0:
          _snake_case	,     _snake_case   	=      arr[i], arr[0]
        else:
          _snake_case	,     _snake_case   	=      arr[i], arr[c[i]]
        res.append(tuple(lowerCAmelCase_	)	)
        c[i] += 1
        _snake_case   	=      0
      else:
        _snake_case   	=      0
        i += 1

  generate(len(lowerCAmelCase_	)  ,						lowerCAmelCase_	)
  return res


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








__lowercase				      =						[4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
__lowercase				      =						[3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
__lowercase				      =						{
    0: """Sunday""",
    1: """Monday""",
    2: """Tuesday""",
    3: """Wednesday""",
    4: """Thursday""",
    5: """Friday""",
    6: """Saturday""",
}







def 							_lowerCamelCase   (			SCREAMING_SNAKE_CASE		,				SCREAMING_SNAKE_CASE		,				SCREAMING_SNAKE_CASE   ):
      '''simple docstring'''







      assert len(str(SCREAMING_SNAKE_CASE   )   ) > 2, "year should be in YYYY format"
      assert 1 <= month <= 12, "month should be between 1 to 12"
      assert 1 <= day <= 31, "day should be between 1 to 31"

      # Doomsday algorithm:
      A_							       =		year // 100
      A_							       =		(5 * (century % 4) + 2) % 7
      A_							       =		year % 100
      A_							       =		centurian % 12
      A_							       =		(
          (centurian // 12) + centurian_m + (centurian_m // 4) + century_anchor
      ) % 7
      A_							       =		(
          DOOMSDAY_NOT_LEAP[month - 1]
          if (year % 4 != 0) or (centurian == 0 and (year % 400) == 0)
          else DOOMSDAY_LEAP[month - 1]
      )
      A_							       =		(dooms_day + day - day_anchor) % 7
      return WEEK_DAY_NAMES[week_day]


if __name__ == "__main__":
      import doctest

      doctest.testmod()





