




"""simple docstring"""


from ...configuration_utils import PretrainedConfig






class 					lowercase(     __a ):







 '''simple docstring'''





 lowercase__ 					=					"bert-generation"


 def __init__(				self:		str,      a_:		str=50_358,      a_:		List[Any]=1_024,      a_:		Union[str, Any]=24,      a_:		int=16,      a_:		Union[str, Any]=4_096,      a_:		Union[str, Any]="gelu",      a_:		Tuple=0.1,      a_:		Any=0.1,      a_:		Union[str, Any]=512,      a_:		List[str]=0.02,      a_:		List[str]=1E-12,      a_:		Union[str, Any]=0,      a_:		Union[str, Any]=2,      a_:		List[Any]=1,      a_:		int="absolute",      a_:		Dict=True,      **a_:		List[Any],      ):




   '''simple docstring'''



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

   _snake_case							:		Optional[int]								=  vocab_size
   _snake_case							:		List[Any]								=  hidden_size
   _snake_case							:		str								=  num_hidden_layers
   _snake_case							:		Tuple								=  num_attention_heads
   _snake_case							:		Union[str, Any]								=  hidden_act
   _snake_case							:		Optional[Any]								=  intermediate_size
   _snake_case							:		Tuple								=  hidden_dropout_prob
   _snake_case							:		int								=  attention_probs_dropout_prob
   _snake_case							:		Any								=  max_position_embeddings
   _snake_case							:		List[str]								=  initializer_range
   _snake_case							:		Optional[Any]								=  layer_norm_eps
   _snake_case							:		List[Any]								=  position_embedding_type
   _snake_case							:		Tuple								=  use_cache








"""simple docstring"""


from math import factorial

A_						=				{str(d): factorial(d) for d in range(10)}


def 					UpperCAmelCase__       (snake_case__							:					int    ):
  """simple docstring"""

  return sum(DIGIT_FACTORIAL[d] for d in str(snake_case__    )    )


def 					UpperCAmelCase__       ():
  """simple docstring"""

  _snake_case							:		List[str]								=  7 * factorial(9    ) + 1
  return sum(i for i in range(3		,   snake_case__    ) if sum_of_digit_factorial(snake_case__    ) == i    )


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


