
def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     list)   ->       list:






							'''simple docstring'''





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

							__UpperCamelCase      :  int       =   []

							def generate(_lowerCamelCase					:     int		,    _lowerCamelCase					:     list):
														__UpperCamelCase      :  List[str]       =   [0] * n
														res.append(tuple(_lowerCamelCase))

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

							generate(len(_lowerCamelCase)		,    _lowerCamelCase)
							return res


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

def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     int)   ->       int:






							'''simple docstring'''





							__UpperCamelCase      :  Tuple       =   1
							for i in range(1		,    num + 1):
														fact *= i
							return fact




def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     int)   ->       int:






							'''simple docstring'''





							__UpperCamelCase      :  Dict       =   0
							while number > 0:
														__UpperCamelCase      :  List[Any]       =   number % 10
														sum_of_digits += last_digit
														__UpperCamelCase      :  List[Any]       =   number // 10  # Removing the last_digit from the given number
							return sum_of_digits




def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     int = 100)   ->       int:






							'''simple docstring'''





							__UpperCamelCase      :  Optional[Any]       =   factorial(_lowerCamelCase)
							__UpperCamelCase      :  Tuple       =   split_and_add(_lowerCamelCase)
							return result


if __name__ == "__main__":
		print(solution(int(input('Enter the Number: ').strip())))