






from __future__ import annotations






def    __magic_name__    (	SCREAMING_SNAKE_CASE				)     ->    bool:
							_lowercase							:   str 							=   str(SCREAMING_SNAKE_CASE				)
							return len(SCREAMING_SNAKE_CASE				) == 9 and set(SCREAMING_SNAKE_CASE				) == set('123456789'				)






def    __magic_name__    (	)     ->    int | None:
							for base_num in range(9_999     ,     4_999     ,     -1				):
														_lowercase							:   Optional[Any] 							=   100_002 * base_num
														if is_9_pandigital(SCREAMING_SNAKE_CASE				):
																					return candidate

							for base_num in range(333     ,     99     ,     -1				):
														_lowercase							:   List[str] 							=   1_002_003 * base_num
														if is_9_pandigital(SCREAMING_SNAKE_CASE				):
																					return candidate

							return None


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








'''simple docstring'''


def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				return "".join(chr(ord(SCREAMING_SNAKE_CASE__	) - 32	) if """a""" <= char <= """z""" else char for char in word	)


if __name__ == "__main__":
				from doctest import testmod

				testmod()




