



def 	lowercase_							(A			:			int = 4_0_0_0_0_0_0				):

       if n <= 1:
              return 0
       snake_case__							:     Any            =     0
       snake_case__							:     str            =     2
       snake_case__							:     Any            =     0
       while 4 * b + a <= n:
              snake_case__     ,    snake_case__							:     str            =     b, 4 * b + a
              count += a
       return count + b


if __name__ == "__main__":
 print(F"""{solution() = }""")











def 	lowercase_							(A			:			list				):
       for i, _ in enumerate(A				):
              if (i % 2 == 1) == (nums[i - 1] > nums[i]):
                     snake_case__     ,    snake_case__							:     List[str]            =     nums[i], nums[i - 1]

       return nums


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






