
"""simple docstring"""







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


lowercase_						    =					logging.get_logger(__name__)

lowercase_						    =					{
    "MCG-NJU/videomae-base": "https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json",
}



class 		UpperCAmelCase_	(lowerCamelCase_						):
 """simple docstring"""




 UpperCamelCase_						:     Optional[Any]				   =    """videomae"""




 def __init__( self       : Optional[int]     ,   a_       : int=2_24     ,   a_       : Optional[int]=16     ,   a_       : Optional[Any]=3     ,   a_       : Union[str, Any]=16     ,   a_       : Optional[int]=2     ,   a_       : Any=7_68     ,   a_       : Any=12     ,   a_       : Dict=12     ,   a_       : Optional[Any]=30_72     ,   a_       : Any="gelu"     ,   a_       : Optional[Any]=0.0     ,   a_       : Dict=0.0     ,   a_       : Optional[Any]=0.02     ,   a_       : Union[str, Any]=1E-12     ,   a_       : int=True     ,   a_       : Optional[Any]=True     ,   a_       : Any=6     ,   a_       : Optional[int]=3_84     ,   a_       : Dict=4     ,   a_       : Any=15_36     ,   a_       : Dict=True     ,   **a_       : Any     ,   )->					Dict:



      """simple docstring"""

      super().__init__(**a_ )

      UpperCAmelCase_						:    Tuple    					=  image_size
      UpperCAmelCase_						:    Tuple    					=  patch_size
      UpperCAmelCase_						:    Dict    					=  num_channels
      UpperCAmelCase_						:    List[str]    					=  num_frames
      UpperCAmelCase_						:    Optional[int]    					=  tubelet_size

      UpperCAmelCase_						:    Any    					=  hidden_size
      UpperCAmelCase_						:    List[Any]    					=  num_hidden_layers
      UpperCAmelCase_						:    Any    					=  num_attention_heads
      UpperCAmelCase_						:    Optional[int]    					=  intermediate_size
      UpperCAmelCase_						:    List[str]    					=  hidden_act
      UpperCAmelCase_						:    List[str]    					=  hidden_dropout_prob
      UpperCAmelCase_						:    List[str]    					=  attention_probs_dropout_prob
      UpperCAmelCase_						:    Dict    					=  initializer_range
      UpperCAmelCase_						:    int    					=  layer_norm_eps
      UpperCAmelCase_						:    List[Any]    					=  qkv_bias
      UpperCAmelCase_						:    Any    					=  use_mean_pooling

      UpperCAmelCase_						:    Optional[Any]    					=  decoder_num_attention_heads
      UpperCAmelCase_						:    Optional[int]    					=  decoder_hidden_size
      UpperCAmelCase_						:    int    					=  decoder_num_hidden_layers
      UpperCAmelCase_						:    int    					=  decoder_intermediate_size
      UpperCAmelCase_						:    Dict    					=  norm_pix_loss



"""simple docstring"""







def 			A_			(					lowercase = 99_8001      )     ->							int:


     """simple docstring"""







     for number in range(n - 1						, 9999						, -1      ):
          UpperCAmelCase_						:    Union[str, Any]    					=  str(lowercase      )

          # checks whether 'str_number' is a palindrome.
          if str_number == str_number[::-1]:
               UpperCAmelCase_						:    List[str]    					=  999

               # if 'number' is a product of two 3-digit numbers
               # then number is the answer otherwise fetch next number.
               while divisor != 99:
                    if (number % divisor == 0) and (len(str(number // divisor      )      ) == 3.0):
                         return number
                    divisor -= 1
     raise ValueError("""That number is larger than our acceptable range."""      )


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

