
"""simple docstring"""







from __future__ import annotations
def    __lowerCAmelCase    (_UpperCamelCase		):
		__lowerCAmelCase      :						Optional[int]						      =				str(_UpperCamelCase		)
		return len(_UpperCamelCase		) == 9 and set(_UpperCamelCase		) == set('123456789'		)
def    __lowerCAmelCase    ():
		for base_num in range(9999	,  4999	,  -1		):
				__lowerCAmelCase      :						Tuple						      =				10_0002 * base_num
				if is_9_pandigital(_UpperCamelCase		):
						return candidate

		for base_num in range(333	,  99	,  -1		):
				__lowerCAmelCase      :						List[str]						      =				100_2003 * base_num
				if is_9_pandigital(_UpperCamelCase		):
						return candidate

		return None


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

"""simple docstring"""







# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works

from ...utils import deprecate
from ..controlnet.pipeline_flax_controlnet import FlaxStableDiffusionControlNetPipeline  # noqa: F401


deprecate(
    """stable diffusion controlnet""",
    """0.22.0""",
    """Importing `FlaxStableDiffusionControlNetPipeline` from diffusers.pipelines.stable_diffusion.flax_pipeline_stable_diffusion_controlnet is deprecated. Please import `from diffusers import FlaxStableDiffusionControlNetPipeline` instead.""",
    standard_warn=False,
    stacklevel=3,
)