'''simple docstring'''

import functools
import operator

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


__a: Any          =   logging.get_logger(__name__)

__a: List[Any]          =   {
    """asapp/sew-tiny-100k""": """https://huggingface.co/asapp/sew-tiny-100k/resolve/main/config.json""",
    # See all SEW models at https://huggingface.co/models?filter=sew
}



class 			UpperCAmelCase  (						a__					):





       '''simple docstring'''



       SCREAMING_SNAKE_CASE							=    "sew"

       def __init__(						self	,   __lowerCAmelCase=32	,   __lowerCAmelCase=768	,   __lowerCAmelCase=12	,   __lowerCAmelCase=12	,   __lowerCAmelCase=3072	,   __lowerCAmelCase=2	,   __lowerCAmelCase="gelu"	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=0.0	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=0.0_2	,   __lowerCAmelCase=1E-5	,   __lowerCAmelCase="group"	,   __lowerCAmelCase="gelu"	,   __lowerCAmelCase=(64, 128, 128, 128, 128, 256, 256, 256, 256, 512, 512, 512, 512)	,   __lowerCAmelCase=(5, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1)	,   __lowerCAmelCase=(10, 3, 1, 3, 1, 3, 1, 3, 1, 2, 1, 2, 1)	,   __lowerCAmelCase=False	,   __lowerCAmelCase=128	,   __lowerCAmelCase=16	,   __lowerCAmelCase=True	,   __lowerCAmelCase=0.0_5	,   __lowerCAmelCase=10	,   __lowerCAmelCase=2	,   __lowerCAmelCase=0.0	,   __lowerCAmelCase=10	,   __lowerCAmelCase=0	,   __lowerCAmelCase="mean"	,   __lowerCAmelCase=False	,   __lowerCAmelCase=False	,   __lowerCAmelCase=256	,   __lowerCAmelCase=0	,   __lowerCAmelCase=1	,   __lowerCAmelCase=2	,   **__lowerCAmelCase	,   )  ->  int:
        super().__init__(**__lowerCAmelCase	,   pad_token_id=__lowerCAmelCase	,   bos_token_id=__lowerCAmelCase	,   eos_token_id=__lowerCAmelCase )
        lowercase__				:    List[Any]  =					hidden_size
        lowercase__				:    Dict  =					feat_extract_norm
        lowercase__				:    str  =					feat_extract_activation
        lowercase__				:    Any  =					list(__lowerCAmelCase )
        lowercase__				:    str  =					list(__lowerCAmelCase )
        lowercase__				:    Any  =					list(__lowerCAmelCase )
        lowercase__				:    List[Any]  =					conv_bias
        lowercase__				:    List[Any]  =					num_conv_pos_embeddings
        lowercase__				:    Union[str, Any]  =					num_conv_pos_embedding_groups
        lowercase__				:    Any  =					len(self.conv_dim )
        lowercase__				:    int  =					num_hidden_layers
        lowercase__				:    Any  =					intermediate_size
        lowercase__				:    Dict  =					squeeze_factor
        lowercase__				:    str  =					hidden_act
        lowercase__				:    Union[str, Any]  =					num_attention_heads
        lowercase__				:    Any  =					hidden_dropout
        lowercase__				:    Dict  =					attention_dropout
        lowercase__				:    Optional[int]  =					activation_dropout
        lowercase__				:    List[str]  =					feat_proj_dropout
        lowercase__				:    Tuple  =					final_dropout
        lowercase__				:    Tuple  =					layerdrop
        lowercase__				:    Optional[int]  =					layer_norm_eps
        lowercase__				:    Optional[Any]  =					initializer_range
        lowercase__				:    List[Any]  =					vocab_size

        if (
            (len(self.conv_stride ) != self.num_feat_extract_layers)
            or (len(self.conv_kernel ) != self.num_feat_extract_layers)
            or (len(self.conv_dim ) != self.num_feat_extract_layers)
        ):
         raise ValueError(
             '''Configuration for convolutional layers is incorrect.'''
             '''It is required that `len(config.conv_dim)` == `len(config.conv_stride)` == `len(config.conv_kernel)`,'''
             F"""but is `len(config.conv_dim) = {len(self.conv_dim )}`, `len(config.conv_stride)"""
             F"""= {len(self.conv_stride )}`, `len(config.conv_kernel) = {len(self.conv_kernel )}`.""" )

        # fine-tuning config parameters for SpecAugment: https://arxiv.org/abs/1904.08779
        lowercase__				:    Optional[int]  =					apply_spec_augment
        lowercase__				:    Dict  =					mask_time_prob
        lowercase__				:    int  =					mask_time_length
        lowercase__				:    List[Any]  =					mask_time_min_masks
        lowercase__				:    str  =					mask_feature_prob
        lowercase__				:    Union[str, Any]  =					mask_feature_length
        lowercase__				:    List[str]  =					mask_feature_min_masks

        # ctc loss
        lowercase__				:    Union[str, Any]  =					ctc_loss_reduction
        lowercase__				:    List[Any]  =					ctc_zero_infinity

        # sequence classification
        lowercase__				:    Union[str, Any]  =					use_weighted_layer_sum
        lowercase__				:    Any  =					classifier_proj_size


       @property
       def _lowerCAmelCase(						self )  ->  List[Any]:
        return functools.reduce(operator.mul	,   self.conv_stride	,   1 )


'''simple docstring'''

def 			__UpperCamelCase       (   UpperCAmelCase     ):
 lowercase__ ,							lowercase__				:    Optional[int]  =					[], []
 while len(UpperCAmelCase     ) > 1:
  lowercase__ ,							lowercase__				:    List[str]  =					min(UpperCAmelCase     ), max(UpperCAmelCase     )
  start.append(UpperCAmelCase     )
  end.append(UpperCAmelCase     )
  collection.remove(UpperCAmelCase     )
  collection.remove(UpperCAmelCase     )
 end.reverse()
 return start + collection + end


if __name__ == "__main__":
  __a: Optional[int]          =   input("""Enter numbers separated by a comma:\n""").strip()
  __a: Tuple          =   [int(item) for item in user_input.split(""",""")]
  print(*merge_sort(unsorted), sep=""",""")

