





"""simple docstring"""




def 		UpperCAmelCase__						(	_UpperCAmelCase   ):






  """simple docstring"""





  for i, _ in enumerate(_UpperCAmelCase   ):
    if (i % 2 == 1) == (nums[i - 1] > nums[i]):
      A_		,			A_    :			List[str]									=    nums[i], nums[i - 1]

  return nums


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




"""simple docstring"""






from transformers import ProcessorMixin




class    __snake_case(					__A       ):
    _A       = '''AutoFeatureExtractor'''
    _A       = '''AutoTokenizer'''
