






'''simple docstring'''






from ...processing_utils import ProcessorMixin




class a_    (    UpperCamelCase_							):
   _snake_case        =							"""WhisperFeatureExtractor"""
   _snake_case        =							"""WhisperTokenizer"""







   def __init__(self					,   __a					,   __a)			->      Tuple:
      """simple docstring"""






      super().__init__(__a					,   __a)
      __snake_case				:      Optional[Any]     							= self.feature_extractor
      __snake_case				:      int     							= False







   def     SCREAMING_SNAKE_CASE__					(self					,   __a=None					,   __a=None					,   __a=True)			->      List[Any]:
      """simple docstring"""






      return self.tokenizer.get_decoder_prompt_ids(task=__a					,   language=__a					,   no_timestamps=__a)







   def __call__(self					,   *__a					,   **__a)			->      List[str]:
      """simple docstring"""






      if self._in_target_context_manager:
         return self.current_processor(*__a					,   **__a)

      __snake_case				:      str     							= kwargs.pop('audio'					,   __a)
      __snake_case				:      Tuple     							= kwargs.pop('sampling_rate'					,   __a)
      __snake_case				:      List[Any]     							= kwargs.pop('text'					,   __a)
      if len(__a) > 0:
         __snake_case				:      str     							= args[0]
         __snake_case				:      Optional[Any]     							= args[1:]

      if audio is None and text is None:
         raise ValueError('You need to specify either an `audio` or `text` input to process.')

      if audio is not None:
         __snake_case				:      int     							= self.feature_extractor(__a					,   *__a					,   sampling_rate=__a					,   **__a)
      if text is not None:
         __snake_case				:      Union[str, Any]     							= self.tokenizer(__a					,   **__a)

      if text is None:
         return inputs

      elif audio is None:
         return encodings
      else:
         __snake_case				:      Optional[int]     							= encodings['input_ids']
         return inputs







   def     SCREAMING_SNAKE_CASE__					(self					,   *__a					,   **__a)			->      str:
      """simple docstring"""






      return self.tokenizer.batch_decode(*__a					,   **__a)







   def     SCREAMING_SNAKE_CASE__					(self					,   *__a					,   **__a)			->      Any:
      """simple docstring"""






      return self.tokenizer.decode(*__a					,   **__a)







   def     SCREAMING_SNAKE_CASE__					(self					,   __a					,   __a="np")			->      Union[str, Any]:
      """simple docstring"""






      return self.tokenizer.get_prompt_ids(__a					,   return_tensors=__a)







'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       list  )    -> list:







   """simple docstring"""
   __snake_case				:      Tuple     							= False
   while is_sorted is False:  # Until all the indices are traversed keep looping
      __snake_case				:      Optional[Any]     							= True
      for i in range(0  ,		len(A  ) - 1  ,		2  ):  # iterating over all even indices
         if input_list[i] > input_list[i + 1]:
            __snake_case							,__snake_case				:      int     							= input_list[i + 1], input_list[i]
            # swapping if elements not in order
            __snake_case				:      List[Any]     							= False

      for i in range(1  ,		len(A  ) - 1  ,		2  ):  # iterating over all odd indices
         if input_list[i] > input_list[i + 1]:
            __snake_case							,__snake_case				:      Tuple     							= input_list[i + 1], input_list[i]
            # swapping if elements not in order
            __snake_case				:      Any     							= False
   return input_list


if __name__ == "__main__":
      print('''Enter list to be sorted''')
      __A    	=   [int(x) for x in input().split()]
      # inputing elements of the list in one line
      __A    	=   odd_even_sort(input_list)
      print('''The sorted list is''')
      print(sorted_list)