


'''simple docstring'''






def    _snake_case  (	A			)		->       int:

							if not isinstance(A					,       A			):
														lowerCAmelCase__			  =      F"""Input value of [number={number}] must be an integer"""
														raise TypeError(A			)

							if number < 1:
														lowerCAmelCase__			  =      F"""Input value of [number={number}] must be > 0"""
														raise ValueError(A			)

							lowerCAmelCase__			  =      1

							for i in range(1					,       A			):
														current_number *= 4 * i - 2
														current_number //= i + 1

							return current_number


if __name__ == "__main__":
		import doctest

		doctest.testmod()



'''simple docstring'''






from __future__ import annotations


def    _snake_case  (	A			)		->       bool:
							lowerCAmelCase__			  =      str(A			)
							return len(A			) == 9 and set(A			) == set('''123456789'''			)


def    _snake_case  (	)		->       int | None:
							for base_num in range(9999					,       4999					,       -1			):
														lowerCAmelCase__			  =      100002 * base_num
														if is_9_pandigital(A			):
																					return candidate

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

							return None


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