






"""simple docstring"""






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


UpperCAmelCase_   : Optional[int]   			= logging.get_logger(__name__)

UpperCAmelCase_   : int   			= {
    """uw-madison/mra-base-512-4""": """https://huggingface.co/uw-madison/mra-base-512-4/resolve/main/config.json""",
}




class 							lowerCAmelCase__				(			UpperCAmelCase__ ):






      '''simple docstring'''

      __UpperCamelCase	 =  "mra"
      def __init__(						self     :  int						,	lowercase_     :  Union[str, Any]=50265						,	lowercase_     :  Tuple=768						,	lowercase_     :  Optional[Any]=12						,	lowercase_     :  Tuple=12						,	lowercase_     :  Optional[int]=3072						,	lowercase_     :  Optional[Any]="gelu"						,	lowercase_     :  Union[str, Any]=0.1						,	lowercase_     :  Optional[Any]=0.1						,	lowercase_     :  Optional[Any]=512						,	lowercase_     :  Union[str, Any]=1						,	lowercase_     :  Optional[int]=0.02						,	lowercase_     :  Optional[Any]=1e-5						,	lowercase_     :  int="absolute"						,	lowercase_     :  Tuple=4						,	lowercase_     :  Any="full"						,	lowercase_     :  int=0						,	lowercase_     :  List[Any]=0						,	lowercase_     :  List[Any]=1						,	lowercase_     :  Optional[int]=0						,	lowercase_     :  Optional[Any]=2						,	**lowercase_     :  Tuple						,	):




          '''simple docstring'''


          super().__init__(pad_token_id=lowercase_						,	bos_token_id=lowercase_						,	eos_token_id=lowercase_						,	**lowercase_)

          SCREAMING_SNAKE_CASE_      :  Tuple    						=		vocab_size
          SCREAMING_SNAKE_CASE_      :  Union[str, Any]    						=		max_position_embeddings
          SCREAMING_SNAKE_CASE_      :  Tuple    						=		hidden_size
          SCREAMING_SNAKE_CASE_      :  Union[str, Any]    						=		num_hidden_layers
          SCREAMING_SNAKE_CASE_      :  str    						=		num_attention_heads
          SCREAMING_SNAKE_CASE_      :  Any    						=		intermediate_size
          SCREAMING_SNAKE_CASE_      :  List[str]    						=		hidden_act
          SCREAMING_SNAKE_CASE_      :  List[Any]    						=		hidden_dropout_prob
          SCREAMING_SNAKE_CASE_      :  Union[str, Any]    						=		attention_probs_dropout_prob
          SCREAMING_SNAKE_CASE_      :  List[str]    						=		initializer_range
          SCREAMING_SNAKE_CASE_      :  List[str]    						=		type_vocab_size
          SCREAMING_SNAKE_CASE_      :  str    						=		layer_norm_eps
          SCREAMING_SNAKE_CASE_      :  str    						=		position_embedding_type
          SCREAMING_SNAKE_CASE_      :  List[Any]    						=		block_per_row
          SCREAMING_SNAKE_CASE_      :  Any    						=		approx_mode
          SCREAMING_SNAKE_CASE_      :  List[Any]    						=		initial_prior_first_n_blocks
          SCREAMING_SNAKE_CASE_      :  Union[str, Any]    						=		initial_prior_diagonal_n_blocks










"""simple docstring"""






def 					_A			(__a = 50							) ->       int:
    """simple docstring"""






    SCREAMING_SNAKE_CASE_      :  Tuple    						=		[[0] * 3 for _ in range(length + 1							)]

    for row_length in range(length + 1							):
        for tile_length in range(2    ,				5							):
            for tile_start in range(row_length - tile_length + 1							):
                different_colour_ways_number[row_length][tile_length - 2] += (
                    different_colour_ways_number[row_length - tile_start - tile_length][
                        tile_length - 2
                    ]
                    + 1
                )

    return sum(different_colour_ways_number[length]							)


if __name__ == "__main__":
  print(f'''{solution() = }''')


