




def 						SCREAMING_SNAKE_CASE__					(    lowercase     )  ->   int:

   if not isinstance(__SCREAMING_SNAKE_CASE						,__SCREAMING_SNAKE_CASE     ):
      snake_case      :				Optional[int]				=       f"""Input value of [number={number}] must be an integer"""
      raise TypeError(__SCREAMING_SNAKE_CASE     )

   if number < 1:
      snake_case      :				Tuple				=       f"""Input value of [number={number}] must be > 0"""
      raise ValueError(__SCREAMING_SNAKE_CASE     )

   snake_case      :				Union[str, Any]				=       1

   for i in range(1						,__SCREAMING_SNAKE_CASE     ):
      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     a__    (    __SCREAMING_SNAKE_CASE )	->	bool:
		__lowerCAmelCase:       Tuple          =			str(__SCREAMING_SNAKE_CASE )
		return len(__SCREAMING_SNAKE_CASE ) == 9 and set(__SCREAMING_SNAKE_CASE ) == set("123456789" )






def     a__    (    )	->	int | None:
		for base_num in range(9_9_9_9					, 4_9_9_9					, -1 ):
				__lowerCAmelCase:       Tuple          =			1_0_0_0_0_2 * base_num
				if is_9_pandigital(__SCREAMING_SNAKE_CASE ):
						return candidate

		for base_num in range(3_3_3					, 9_9					, -1 ):
				__lowerCAmelCase:       int          =			1_0_0_2_0_0_3 * base_num
				if is_9_pandigital(__SCREAMING_SNAKE_CASE ):
						return candidate

		return None


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


