




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


lowercase__				:     int 		=						logging.get_logger(__name__)
class 		UpperCAmelCase   (				UpperCAmelCase__			):







						'''simple docstring'''





						lowerCAmelCase_     		=   '''timm_backbone'''






						def __init__(						self							:     List[str]       ,	__lowercase							:     Tuple=None       ,	__lowercase							:     Optional[int]=3       ,	__lowercase							:     List[Any]=True       ,	__lowercase							:     List[Any]=True       ,	__lowercase							:     List[Any]=None       ,	**__lowercase							:     Tuple       ,	):






							"""simple docstring"""






							super().__init__(**__lowercase						)
							snake_case_		    =     backbone
							snake_case_		    =     num_channels
							snake_case_		    =     features_only
							snake_case_		    =     use_pretrained_backbone
							snake_case_		    =     True
							snake_case_		    =     out_indices if out_indices is not None else (-1,)






from __future__ import annotations


def 						lowerCamelCase__    (		_A							):







	'''simple docstring'''





	snake_case_		    =     str(_A							)
	return len(_A							) == 9 and set(_A							) == set("123456789"							)


def 						lowerCamelCase__    (		):







	'''simple docstring'''





	for base_num in range(9999     ,	4999     ,	-1							):
		snake_case_		    =     100002 * base_num
		if is_9_pandigital(_A							):
			return candidate

	for base_num in range(333     ,	99     ,	-1							):
		snake_case_		    =     1002003 * base_num
		if is_9_pandigital(_A							):
			return candidate

	return None


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