




'''simple docstring'''






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    A						(					SCREAMING_SNAKE_CASE__						):




				'''simple docstring'''





				A       =							"videomae"
				def __init__(self					,    _UpperCAmelCase=2_2_4					,    _UpperCAmelCase=1_6					,    _UpperCAmelCase=3					,    _UpperCAmelCase=1_6					,    _UpperCAmelCase=2					,    _UpperCAmelCase=7_6_8					,    _UpperCAmelCase=1_2					,    _UpperCAmelCase=1_2					,    _UpperCAmelCase=3_0_7_2					,    _UpperCAmelCase="gelu"					,    _UpperCAmelCase=0.0					,    _UpperCAmelCase=0.0					,    _UpperCAmelCase=0.02					,    _UpperCAmelCase=1E-12					,    _UpperCAmelCase=True					,    _UpperCAmelCase=True					,    _UpperCAmelCase=6					,    _UpperCAmelCase=3_8_4					,    _UpperCAmelCase=4					,    _UpperCAmelCase=1_5_3_6					,    _UpperCAmelCase=True					,    **_UpperCAmelCase					,    )      ->			List[Any]:
							super().__init__(**_UpperCAmelCase     )

							__UpperCamelCase :     int										=  image_size
							__UpperCamelCase :     int										=  patch_size
							__UpperCamelCase :     Tuple										=  num_channels
							__UpperCamelCase :     Optional[int]										=  num_frames
							__UpperCamelCase :     Optional[int]										=  tubelet_size

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

							__UpperCamelCase :     Optional[int]										=  decoder_num_attention_heads
							__UpperCamelCase :     Union[str, Any]										=  decoder_hidden_size
							__UpperCamelCase :     List[Any]										=  decoder_num_hidden_layers
							__UpperCamelCase :     Optional[Any]										=  decoder_intermediate_size
							__UpperCamelCase :     Union[str, Any]										=  norm_pix_loss









'''simple docstring'''






import itertools

def      __lowerCAmelCase   (       snake_case__		):
			return (
			    int("".join(combination[0:2]		)		) * int("".join(combination[2:5]		)		)
			    == int("".join(combination[5:9]		)		)
			) or (
			    int("".join(combination[0]		)		) * int("".join(combination[1:5]		)		)
			    == int("".join(combination[5:9]		)		)
			)

def      __lowerCAmelCase   (       ):
			return sum(
			    {
			        int("".join(pandigital[5:9]		)		)
			        for pandigital in itertools.permutations("123456789"		)
			        if is_combination_valid(snake_case__		)
			    }		)


if __name__ == "__main__":
				print(solution())



