




'''simple docstring'''
from __future__ import annotations





def 			lowerCamelCase(							SCREAMING_SNAKE_CASE_     )		->		bool:
			A_									= str(SCREAMING_SNAKE_CASE_     )
			return len(SCREAMING_SNAKE_CASE_     ) == 9 and set(SCREAMING_SNAKE_CASE_     ) == set('123456789'     )





def 			lowerCamelCase(							)		->		int | None:
			for base_num in range(9999       ,4999       ,-1     ):
						A_									= 10_0002 * base_num
						if is_9_pandigital(SCREAMING_SNAKE_CASE_     ):
									return candidate

			for base_num in range(333       ,99       ,-1     ):
						A_									= 100_2003 * base_num
						if is_9_pandigital(SCREAMING_SNAKE_CASE_     ):
									return candidate

			return None


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










'''simple docstring'''
def 			lowerCamelCase(							SCREAMING_SNAKE_CASE_       ,SCREAMING_SNAKE_CASE_     )		->		tuple[float, float]:

			# Check if the input is valid
			if not len(SCREAMING_SNAKE_CASE_     ) == len(SCREAMING_SNAKE_CASE_     ) == 3:
						raise ValueError('Please enter a valid equation.'     )
			if equationa[0] == equationa[1] == equationa[0] == equationa[1] == 0:
						raise ValueError('Both a & b of two equations can\'t be zero.'     )

			# Extract the coefficients
			A_		, A_		, A_									= equationa
			A_		, A_		, A_									= equationa

			# Calculate the determinants of the matrices
			A_									= aa * ba - aa * ba
			A_									= ca * ba - ca * ba
			A_									= aa * ca - aa * ca

			# Check if the system of linear equations has a solution (using Cramer's rule)
			if determinant == 0:
						if determinant_x == determinant_y == 0:
									raise ValueError('Infinite solutions. (Consistent system)'     )
						else:
									raise ValueError('No solution. (Inconsistent system)'     )
			else:
						if determinant_x == determinant_y == 0:
									# Trivial solution (Inconsistent system)
									return (0.0, 0.0)
						else:
									A_									= determinant_x / determinant
									A_									= determinant_y / determinant
									# Non-Trivial Solution (Consistent system)
									return (x, y)




