






from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCamelCase     :							Tuple    =logging.get_logger(__name__)

lowerCamelCase     :							Tuple    ={
    '''weiweishi/roc-bert-base-zh''': '''https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/main/config.json''',
}





class       __a  (   A__	):
 _lowerCAmelCase	:	str				=			'''roc_bert'''







 def __init__(		self :       List[str]							,       SCREAMING_SNAKE_CASE :       List[str]=3_05_22							,       SCREAMING_SNAKE_CASE :       Tuple=7_68							,       SCREAMING_SNAKE_CASE :       List[str]=12							,       SCREAMING_SNAKE_CASE :       Optional[Any]=12							,       SCREAMING_SNAKE_CASE :       Tuple=30_72							,       SCREAMING_SNAKE_CASE :       List[Any]="gelu"							,       SCREAMING_SNAKE_CASE :       Union[str, Any]=0.1							,       SCREAMING_SNAKE_CASE :       List[str]=0.1							,       SCREAMING_SNAKE_CASE :       Dict=5_12							,       SCREAMING_SNAKE_CASE :       List[Any]=2							,       SCREAMING_SNAKE_CASE :       int=0.0_2							,       SCREAMING_SNAKE_CASE :       Union[str, Any]=1e-1_2							,       SCREAMING_SNAKE_CASE :       Optional[Any]=True							,       SCREAMING_SNAKE_CASE :       List[Any]=0							,       SCREAMING_SNAKE_CASE :       Tuple="absolute"							,       SCREAMING_SNAKE_CASE :       Optional[int]=None							,       SCREAMING_SNAKE_CASE :       List[Any]=True							,       SCREAMING_SNAKE_CASE :       Any=True							,       SCREAMING_SNAKE_CASE :       Optional[int]=7_68							,       SCREAMING_SNAKE_CASE :       Dict=9_10							,       SCREAMING_SNAKE_CASE :       int=5_12							,       SCREAMING_SNAKE_CASE :       List[Any]=2_48_58							,       SCREAMING_SNAKE_CASE :       List[str]=True							,       **SCREAMING_SNAKE_CASE :       str							,       ):


      '''simple docstring'''






      UpperCamelCase__      :       Dict	    =  vocab_size
      UpperCamelCase__      :       Any	    =  max_position_embeddings
      UpperCamelCase__      :       List[str]	    =  hidden_size
      UpperCamelCase__      :       str	    =  num_hidden_layers
      UpperCamelCase__      :       Optional[Any]	    =  num_attention_heads
      UpperCamelCase__      :       Dict	    =  intermediate_size
      UpperCamelCase__      :       int	    =  hidden_act
      UpperCamelCase__      :       List[str]	    =  hidden_dropout_prob
      UpperCamelCase__      :       Union[str, Any]	    =  attention_probs_dropout_prob
      UpperCamelCase__      :       int	    =  initializer_range
      UpperCamelCase__      :       Union[str, Any]	    =  type_vocab_size
      UpperCamelCase__      :       int	    =  layer_norm_eps
      UpperCamelCase__      :       Any	    =  use_cache
      UpperCamelCase__      :       List[str]	    =  enable_pronunciation
      UpperCamelCase__      :       Optional[int]	    =  enable_shape
      UpperCamelCase__      :       Union[str, Any]	    =  pronunciation_embed_dim
      UpperCamelCase__      :       Tuple	    =  pronunciation_vocab_size
      UpperCamelCase__      :       str	    =  shape_embed_dim
      UpperCamelCase__      :       Any	    =  shape_vocab_size
      UpperCamelCase__      :       List[Any]	    =  concat_input
      UpperCamelCase__      :       Union[str, Any]	    =  position_embedding_type
      UpperCamelCase__      :       str	    =  classifier_dropout
      super().__init__(pad_token_id=SCREAMING_SNAKE_CASE							,       **SCREAMING_SNAKE_CASE						)







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     list:
     UpperCamelCase__      :       Tuple	    =  False
     while is_sorted is False:  # Until all the indices are traversed keep looping
          UpperCamelCase__      :       Tuple	    =  True
          for i in range(0 ,   len(__lowerCAmelCase      ) - 1 ,   2      ):  # iterating over all even indices
               if input_list[i] > input_list[i + 1]:
                    UpperCamelCase__    ,					UpperCamelCase__      :       Dict	    =  input_list[i + 1], input_list[i]
                    # swapping if elements not in order
                    UpperCamelCase__      :       List[str]	    =  False

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


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