'''simple docstring'''

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


UpperCamelCase__     :	Any				=			logging.get_logger(__name__)

UpperCamelCase__     :	Optional[Any]				=			{
    'alibaba-damo/mgp-str-base': 'https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json',
}


class 				_lowercase	(      lowerCAmelCase   ):
      '''simple docstring'''


      UpperCAmelCase_      							=   '''mgp-str'''




      def __init__(				self					,lowerCamelCase_=[32, 128]					,lowerCamelCase_=4					,lowerCamelCase_=3					,lowerCamelCase_=27					,lowerCamelCase_=38					,lowerCamelCase_=50257					,lowerCamelCase_=30522					,lowerCamelCase_=768					,lowerCamelCase_=12					,lowerCamelCase_=12					,lowerCamelCase_=4.0					,lowerCamelCase_=True					,lowerCamelCase_=False					,lowerCamelCase_=1e-5					,lowerCamelCase_=0.0					,lowerCamelCase_=0.0					,lowerCamelCase_=0.0					,lowerCamelCase_=False					,lowerCamelCase_=0.02					,**lowerCamelCase_					,)			->			List[str]:



         '''simple docstring'''



         super().__init__(**__A							)

         UpperCAmelCase__							:				Any   				=  image_size
         UpperCAmelCase__							:				Optional[int]   				=  patch_size
         UpperCAmelCase__							:				List[str]   				=  num_channels
         UpperCAmelCase__							:				List[Any]   				=  max_token_length
         UpperCAmelCase__							:				str   				=  num_character_labels
         UpperCAmelCase__							:				Dict   				=  num_bpe_labels
         UpperCAmelCase__							:				Optional[Any]   				=  num_wordpiece_labels
         UpperCAmelCase__							:				List[Any]   				=  hidden_size
         UpperCAmelCase__							:				Any   				=  num_hidden_layers
         UpperCAmelCase__							:				Any   				=  num_attention_heads
         UpperCAmelCase__							:				List[str]   				=  mlp_ratio
         UpperCAmelCase__							:				List[str]   				=  distilled
         UpperCAmelCase__							:				Tuple   				=  layer_norm_eps
         UpperCAmelCase__							:				str   				=  drop_rate
         UpperCAmelCase__							:				Optional[int]   				=  qkv_bias
         UpperCAmelCase__							:				Dict   				=  attn_drop_rate
         UpperCAmelCase__							:				Union[str, Any]   				=  drop_path_rate
         UpperCAmelCase__							:				List[Any]   				=  output_aa_attentions
         UpperCAmelCase__							:				Tuple   				=  initializer_range





'''simple docstring'''

def __UpperCamelCase(   _A					:				str  ,			_A					:				str    ):
   '''simple docstring'''
   UpperCAmelCase__							:				int   				=  len(_A    )
   UpperCAmelCase__							:				int   				=  len(_A    )
   UpperCAmelCase__							:				int   				=  (
       first_str_length if first_str_length > second_str_length else second_str_length
   )
   UpperCAmelCase__							:				list   				=  []
   for char_count in range(_A    ):
      if char_count < first_str_length:
         output_list.append(first_str[char_count]    )
      if char_count < second_str_length:
         output_list.append(second_str[char_count]    )
   return "".join(_A    )


if __name__ == "__main__":
  print(alternative_string_arrange('AB', 'XYZ'), end=' ')




