




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


_UpperCAmelCase		:  str	=   logging.get_logger(__name__)

# TODO: upload to AWS
_UpperCAmelCase		:  Dict	=   {
    "yjernite/retribert-base-uncased": (
        "https://huggingface.co/yjernite/retribert-base-uncased/resolve/main/config.json"
    ),
}




class       __lowerCAmelCase				(							SCREAMING_SNAKE_CASE__):
       _a           =  '''retribert'''






       def __init__(      self:    Optional[int]				,    _lowerCAmelCase:    Optional[Any]=3_05_22				,    _lowerCAmelCase:    int=7_68				,    _lowerCAmelCase:    Dict=8				,    _lowerCAmelCase:    List[Any]=12				,    _lowerCAmelCase:    Tuple=30_72				,    _lowerCAmelCase:    List[Any]="gelu"				,    _lowerCAmelCase:    Any=0.1				,    _lowerCAmelCase:    Any=0.1				,    _lowerCAmelCase:    Tuple=5_12				,    _lowerCAmelCase:    Dict=2				,    _lowerCAmelCase:    int=0.02				,    _lowerCAmelCase:    List[Any]=1e-1_2				,    _lowerCAmelCase:    List[str]=True				,    _lowerCAmelCase:    Dict=1_28				,    _lowerCAmelCase:    Union[str, Any]=0				,    **_lowerCAmelCase:    List[Any]				,    ):
         super().__init__(pad_token_id=_lowerCAmelCase				,    **_lowerCAmelCase )

         lowercase			:Optional[Any]							=  vocab_size
         lowercase			:Union[str, Any]							=  hidden_size
         lowercase			:Union[str, Any]							=  num_hidden_layers
         lowercase			:Optional[Any]							=  num_attention_heads
         lowercase			:int							=  hidden_act
         lowercase			:str							=  intermediate_size
         lowercase			:List[Any]							=  hidden_dropout_prob
         lowercase			:Optional[int]							=  attention_probs_dropout_prob
         lowercase			:int							=  max_position_embeddings
         lowercase			:Union[str, Any]							=  type_vocab_size
         lowercase			:int							=  initializer_range
         lowercase			:Tuple							=  layer_norm_eps
         lowercase			:List[str]							=  share_encoders
         lowercase			:str							=  projection_dim




def    a__       (						__UpperCamelCase = 1_0_0_0 ):
      SCREAMING_SNAKE_CASE_      =     -1
      SCREAMING_SNAKE_CASE_      =     0
      for a in range(1   ,					n // 3 ):
            # Solving the two equations a**2+b**2=c**2 and a+b+c=N eliminating c
            SCREAMING_SNAKE_CASE_      =     (n * n - 2 * a * n) // (2 * n - 2 * a)
            SCREAMING_SNAKE_CASE_      =     n - a - b
            if c * c == (a * a + b * b):
                  SCREAMING_SNAKE_CASE_      =     a * b * c
                  if candidate >= product:
                        SCREAMING_SNAKE_CASE_      =     candidate
      return product


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


