


def      _lowerCAmelCase  (							lowerCAmelCase_							:list							)->list:
   '''simple docstring'''






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

   return nums


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








from .prime_check import Test

Test()




