




from __future__ import annotations




def 			__magic_name__				( A		:					int   ):






			'''simple docstring'''







			a    =			str(A   )
			return len(A   ) == 9 and set(A   ) == set("123456789"   )




def 			__magic_name__				( ):






			'''simple docstring'''







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

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

			return None


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










"""simple docstring"""







import pytest

from datasets import inspect_metric, list_metrics, load_metric


@pytest.fixture
def      lowercase			(				A_       )->      List[Any]:
  '''simple docstring'''







  monkeypatch.setattr("datasets.utils.deprecation_utils._emitted_deprecation_warnings"  ,   set()       )


@pytest.fixture
def      lowercase			(				A_       )->      Tuple:
  '''simple docstring'''







  class 						_A  :







      """simple docstring"""




      def __init__(					self				:    str				, __UpperCAmelCase				:    int):
        a						:		List[Any]      							=			metric_id






  class 						_A  :







      """simple docstring"""




      UpperCAmelCase       :							Union[str, Any]	=       [MetricMock(_a  ) for metric_id in ["""accuracy""", """mse""", """precision""", """codeparrot/apps_metric"""]]






      def 	__snake_case							(					self				:    List[str]):
        return self._metrics






  monkeypatch.setattr("datasets.inspect.huggingface_hub"  ,   HfhMock()       )







@pytest.mark.parametrize(
    "func, args"  ,   [(load_metric, ("metrics/mse",)), (list_metrics, ()), (inspect_metric, ("metrics/mse", "tmp_path"))]       )
def      lowercase			(				A_  ,   A_  ,   A_  ,   A_  ,   A_       )->      Any:
  '''simple docstring'''







  if "tmp_path" in args:
    a						:		Union[str, Any]      							=			tuple(arg if arg != "tmp_path" else tmp_path for arg in args       )
  with pytest.warns(A_  ,   match="https://huggingface.co/docs/evaluate"       ):
    func(*A_       )






