
'''simple docstring'''
def      UpperCamelCase_				(      A__  ,      A__						):
	a_      				=						len(lowerCAmelCase__						)
	a_      				=						len(lowerCAmelCase__						)
	a_      				=						(
	    first_str_length if first_str_length > second_str_length else second_str_length
	)
	a_      				=						[]
	for char_count in range(lowerCAmelCase__						):
		if char_count < first_str_length:
			output_list.append(first_str[char_count]						)
		if char_count < second_str_length:
			output_list.append(second_str[char_count]						)
	return "".join(lowerCAmelCase__						)


if __name__ == "__main__":
		print(alternative_string_arrange('AB', 'XYZ'), end=' ')



'''simple docstring'''

SCREAMING_SNAKE_CASE							:				Union[str, Any]     	=			0  # The first color of the flag.
SCREAMING_SNAKE_CASE							:				List[str]     	=			1  # The second color of the flag.
SCREAMING_SNAKE_CASE							:				Optional[Any]     	=			2  # The third color of the flag.
SCREAMING_SNAKE_CASE							:				Tuple     	=			(red, white, blue)




def 							_UpperCamelCase				(   lowerCAmelCase__:					list   )      -> list:
							if not sequence:
														return []
							if len(lowerCAmelCase__   ) == 1:
														return list(lowerCAmelCase__   )
							SCREAMING_SNAKE_CASE_				=				0
							SCREAMING_SNAKE_CASE_				=				len(lowerCAmelCase__   ) - 1
							SCREAMING_SNAKE_CASE_				=				0
							while mid <= high:
														if sequence[mid] == colors[0]:
																					SCREAMING_SNAKE_CASE_				,    SCREAMING_SNAKE_CASE_				=				sequence[mid], sequence[low]
																					low += 1
																					mid += 1
														elif sequence[mid] == colors[1]:
																					mid += 1
														elif sequence[mid] == colors[2]:
																					SCREAMING_SNAKE_CASE_				,    SCREAMING_SNAKE_CASE_				=				sequence[high], sequence[mid]
																					high -= 1
														else:
																					SCREAMING_SNAKE_CASE_				=				F"""The elements inside the sequence must contains only {colors} values"""
																					raise ValueError(lowerCAmelCase__   )
							return sequence


if __name__ == "__main__":
							import doctest

							doctest.testmod()

							SCREAMING_SNAKE_CASE							:				str     	=			input("Enter numbers separated by commas:\n").strip()
							SCREAMING_SNAKE_CASE							:				List[Any]     	=			[int(item.strip()) for item in user_input.split(",")]
							print(f"{dutch_national_flag_sort(unsorted)}")





