
"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import _LazyModule


_a									=				{'tokenization_bert_japanese': ['BertJapaneseTokenizer', 'CharacterTokenizer', 'MecabTokenizer']}


if TYPE_CHECKING:
    from .tokenization_bert_japanese import BertJapaneseTokenizer, CharacterTokenizer, MecabTokenizer

else:
    import sys

    _a									=				_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




"""simple docstring"""





def       __a	(						__lowerCamelCase    ):
   for i, _ in enumerate(__lowerCamelCase    ):
      if (i % 2 == 1) == (nums[i - 1] > nums[i]):
         UpperCAmelCase_	,  UpperCAmelCase_   :   List[Any]     	=       nums[i], nums[i - 1]

   return nums


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


