def     lowercase_       (    _lowerCamelCase							: list):
    for i, _ in enumerate(_lowerCamelCase):
        if (i % 2 == 1) == (nums[i - 1] > nums[i]):
            lowercase__      ,     lowercase__				:     Any					      =       nums[i], nums[i - 1]

    return nums


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




def     lowercase_       (    _lowerCamelCase							: str	,			_lowerCamelCase							: Optional[int]):
    if len(str(_lowerCamelCase)) == 1 or len(str(_lowerCamelCase)) == 1:
        return a * b

    lowercase__				:     Tuple					      =       max(len(str(_lowerCamelCase))	,			len(str(_lowerCamelCase)))
    lowercase__				:     Union[str, Any]					      =       ma // 2

    lowercase__      ,     lowercase__				:     Union[str, Any]					      =       divmod(_lowerCamelCase	,			10**ma)
    lowercase__      ,     lowercase__				:     Tuple					      =       divmod(_lowerCamelCase	,			10**ma)

    lowercase__				:     int					      =       karatsuba(_lowerCamelCase	,			_lowerCamelCase)
    lowercase__				:     Dict					      =       karatsuba((aa + aa)	,			(ba + ba))
    lowercase__				:     Optional[int]					      =       karatsuba(_lowerCamelCase	,			_lowerCamelCase)

    return (z * 10 ** (2 * ma)) + ((y - z - x) * 10 ** (ma)) + (x)

def     lowercase_       (    ):
    print(karatsuba(1_5463	,			2_3489))


if __name__ == "__main__":
      main()



