


lowercase_	   =     'Input must be a string of 8 numbers plus letter'
lowercase_	   =     'TRWAGMYFPDXBNJZSQVHLCKE'
def 				UpperCamelCase__					(  SCREAMING_SNAKE_CASE__						):

 if not isinstance(SCREAMING_SNAKE_CASE__      ,	SCREAMING_SNAKE_CASE__						):
  __lowerCamelCase		:							Tuple		 =						f'Expected string as input, found {type(SCREAMING_SNAKE_CASE__						).__name__}'
  raise TypeError(SCREAMING_SNAKE_CASE__						)

 __lowerCamelCase		:							int		 =						spanish_id.replace('-'      ,	''						).upper()
 if len(SCREAMING_SNAKE_CASE__						) != 9:
  raise ValueError(SCREAMING_SNAKE_CASE__						)

 try:
  __lowerCamelCase		:							str		 =						int(spanish_id_clean[0:8]						)
  __lowerCamelCase		:							Union[str, Any]		 =						spanish_id_clean[8]
 except ValueError as ex:
  raise ValueError(SCREAMING_SNAKE_CASE__						) from ex

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

 return letter == LOOKUP_LETTERS[number % 23]


if __name__ == "__main__":
       import doctest

       doctest.testmod()





def 				UpperCamelCase__					(  SCREAMING_SNAKE_CASE__      ,	SCREAMING_SNAKE_CASE__						):
 __lowerCamelCase		:							Union[str, Any]		 =						len(SCREAMING_SNAKE_CASE__						)
 __lowerCamelCase		:							Any		 =						[[False] * (required_sum + 1) for _ in range(arr_len + 1						)]

 # for each arr value, a sum of zero(0) can be formed by not taking any element
 # hence True/1
 for i in range(arr_len + 1						):
  __lowerCamelCase		:							Dict		 =						True

 # sum is not zero and set is empty then false
 for i in range(1      ,	required_sum + 1						):
  __lowerCamelCase		:							Union[str, Any]		 =						False

 for i in range(1      ,	arr_len + 1						):
  for j in range(1      ,	required_sum + 1						):
   if arr[i - 1] > j:
    __lowerCamelCase		:							Tuple		 =						subset[i - 1][j]
   if arr[i - 1] <= j:
    __lowerCamelCase		:							List[Any]		 =						subset[i - 1][j] or subset[i - 1][j - arr[i - 1]]

 return subset[arr_len][required_sum]


if __name__ == "__main__":
       import doctest

       doctest.testmod()

