

'''simple docstring'''
from ...utils import is_transformers_available
from .pipeline_latent_diffusion_superresolution import LDMSuperResolutionPipeline


if is_transformers_available():
      from .pipeline_latent_diffusion import LDMBertModel, LDMTextToImagePipeline



'''simple docstring'''
def  _lowerCAmelCase      (		_UpperCamelCase		:  list       )   ->    list:
     """simple docstring"""




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

     return nums


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