

'''simple docstring'''
def  _lowerCAmelCase      (		_UpperCamelCase		:  list							,				_UpperCamelCase		:  list       )   ->    list:
     """simple docstring"""




     _SCREAMING_SNAKE_CASE												=len(_UpperCamelCase       )
     _SCREAMING_SNAKE_CASE												=len(_UpperCamelCase       )
     _SCREAMING_SNAKE_CASE												=(
         first_input_list_length
         if first_input_list_length > second_input_list_length
         else second_input_list_length
     )
     _SCREAMING_SNAKE_CASE												=[]
     for char_count in range(_UpperCamelCase       ):
          if char_count < first_input_list_length:
               output_result_list.append(first_input_list[char_count]       )
          if char_count < second_input_list_length:
               output_result_list.append(second_input_list[char_count]       )

     return output_result_list


if __name__ == "__main__":
      print(alternative_list_arrange(["A", "B", "C"], [1, 2, 3, 4, 5]), end=" ")



'''simple docstring'''
def  _lowerCAmelCase      (		_UpperCamelCase		:  list       )   ->    list:
     """simple docstring"""




     for i, _ in enumerate(_UpperCamelCase       ):
          if (i % 2 == 1) == (nums[i - 1] > nums[i]):
               _SCREAMING_SNAKE_CASE					,		_SCREAMING_SNAKE_CASE												=nums[i], nums[i - 1]

     return nums


if __name__ == "__main__":
     print("Enter the array elements:")
     lowerCamelCase				:   Tuple      				=  list(map(int, input().split()))
     print("The unsorted array is:")
     print(array)
     print("Array after Wiggle sort:")
     print(wiggle_sort(array))
