



"""simple docstring"""
import sys

sys.set_int_max_str_digits(0)  # type: ignore
def   A_    (     _lowercase      ):







						'''simple docstring'''


						snake_case_					:str		=     [0] * 11
						snake_case_					:Optional[Any]		=     [0] * 11

						# mark last 9 numbers
						for _ in range(9      ):
												snake_case_					:Dict		=     1
												snake_case_					:Optional[Any]		=     number // 10
						# flag
						snake_case_					:Tuple		=     True

						# check last 9 numbers for pandigitality

						for x in range(9      ):
												if not check_last[x + 1]:
																		snake_case_					:Optional[int]		=     False
						if not f:
												return f

						# mark first 9 numbers
						snake_case_					:Optional[int]		=     int(str(_lowercase      )[:9]      )

						for _ in range(9      ):
												snake_case_					:List[Any]		=     1
												snake_case_					:List[Any]		=     number // 10

						# check first 9 numbers for pandigitality

						for x in range(9      ):
												if not check_front[x + 1]:
																		snake_case_					:Union[str, Any]		=     False
						return f
def   A_    (     _lowercase      ):







						'''simple docstring'''


						snake_case_					:Optional[Any]		=     [0] * 11

						# mark last 9 numbers
						for _ in range(9      ):
												snake_case_					:Optional[Any]		=     1
												snake_case_					:str		=     number // 10
						# flag
						snake_case_					:List[str]		=     True

						# check last 9 numbers for pandigitality

						for x in range(9      ):
												if not check_last[x + 1]:
																		snake_case_					:List[str]		=     False
						return f
def   A_    (     ):







						'''simple docstring'''


						snake_case_					:Optional[int]		=     1
						snake_case_					:List[str]		=     1
						snake_case_					:Dict		=     2
						# temporary Fibonacci numbers

						snake_case_					:List[str]		=     1
						snake_case_					:Any		=     1
						snake_case_					:List[str]		=     2
						# temporary Fibonacci numbers mod 1e9

						# mod m=1e9, done for fast optimisation
						snake_case_					:Union[str, Any]		=     [0] * 1000000
						snake_case_					:str		=     1000000000

						for x in range(1000000      ):
												snake_case_					:Optional[Any]		=     (aa + ba) % m
												snake_case_					:Dict		=     ba % m
												snake_case_					:List[Any]		=     ca % m
												if checka(_lowercase      ):
																		snake_case_					:Dict		=     1

						for x in range(1000000      ):
												snake_case_					:Optional[int]		=     a + b
												snake_case_					:str		=     b
												snake_case_					:Tuple		=     c
												# perform check only if in tocheck
												if tocheck[x + 3] and check(_lowercase      ):
																		return x + 3  # first 2 already done
						return -1


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







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


__lowerCAmelCase 	=      logging.get_logger(__name__)

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




class 	_UpperCAmelCase						( _lowercase       ):
					__A        = "videomae"




					def __init__(    self     ,   __lowerCAmelCase=224     ,   __lowerCAmelCase=16     ,   __lowerCAmelCase=3     ,   __lowerCAmelCase=16     ,   __lowerCAmelCase=2     ,   __lowerCAmelCase=768     ,   __lowerCAmelCase=12     ,   __lowerCAmelCase=12     ,   __lowerCAmelCase=3_072     ,   __lowerCAmelCase="gelu"     ,   __lowerCAmelCase=0.0     ,   __lowerCAmelCase=0.0     ,   __lowerCAmelCase=0.0_2     ,   __lowerCAmelCase=1E-1_2     ,   __lowerCAmelCase=True     ,   __lowerCAmelCase=True     ,   __lowerCAmelCase=6     ,   __lowerCAmelCase=384     ,   __lowerCAmelCase=4     ,   __lowerCAmelCase=1_536     ,   __lowerCAmelCase=True     ,   **__lowerCAmelCase     ,   )    ->	Any:
							super().__init__(**__lowerCAmelCase							)

							UpperCamelCase__								=						image_size
							UpperCamelCase__								=						patch_size
							UpperCamelCase__								=						num_channels
							UpperCamelCase__								=						num_frames
							UpperCamelCase__								=						tubelet_size

							UpperCamelCase__								=						hidden_size
							UpperCamelCase__								=						num_hidden_layers
							UpperCamelCase__								=						num_attention_heads
							UpperCamelCase__								=						intermediate_size
							UpperCamelCase__								=						hidden_act
							UpperCamelCase__								=						hidden_dropout_prob
							UpperCamelCase__								=						attention_probs_dropout_prob
							UpperCamelCase__								=						initializer_range
							UpperCamelCase__								=						layer_norm_eps
							UpperCamelCase__								=						qkv_bias
							UpperCamelCase__								=						use_mean_pooling

							UpperCamelCase__								=						decoder_num_attention_heads
							UpperCamelCase__								=						decoder_hidden_size
							UpperCamelCase__								=						decoder_num_hidden_layers
							UpperCamelCase__								=						decoder_intermediate_size
							UpperCamelCase__								=						norm_pix_loss





