_lowerCAmelCase       =		"Input must be a string of 8 numbers plus letter"
_lowerCAmelCase       =		"TRWAGMYFPDXBNJZSQVHLCKE"
def 					_snake_case	(  __snake_case						):

					if not isinstance(__snake_case  ,     __snake_case						):
										_UpperCamelCase			     =     f"""Expected string as input, found {type(__snake_case						).__name__}"""
										raise TypeError(__snake_case						)

					_UpperCamelCase			     =     spanish_id.replace('''-'''  ,     ''''''						).upper()
					if len(__snake_case						) != 9:
										raise ValueError(__snake_case						)

					try:
										_UpperCamelCase			     =     int(spanish_id_clean[0:8]						)
										_UpperCamelCase			     =     spanish_id_clean[8]
					except ValueError as ex:
										raise ValueError(__snake_case						) from ex

					if letter.isdigit():
										raise ValueError(__snake_case						)

					return letter == LOOKUP_LETTERS[number % 23]


if __name__ == "__main__":
					import doctest

					doctest.testmod()

def 					_snake_case	(  __snake_case = 100						):
					_UpperCamelCase			     =     (n * (n + 1) // 2) ** 2
					_UpperCamelCase			     =     n * (n + 1) * (2 * n + 1) // 6
					return sum_cubes - sum_squares


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