


"""simple docstring"""
from math import cos, sin






def 						lowercase				(	_snake_case		: float	)	->list[list[float]]:
	"""simple docstring"""





	__snake_case      :		Optional[Any]         =							float(_snake_case	)
	return [[scaling_factor * int(x == y	) for x in range(2	)] for y in range(2	)]






def 						lowercase				(	_snake_case		: float	)	->list[list[float]]:
	"""simple docstring"""





	__snake_case      ,				__snake_case      :		Union[str, Any]         =							cos(_snake_case	), sin(_snake_case	)
	return [[c, -s], [s, c]]






def 						lowercase				(	_snake_case		: float	)	->list[list[float]]:
	"""simple docstring"""





	__snake_case      ,				__snake_case      :		str         =							cos(_snake_case	), sin(_snake_case	)
	__snake_case      :		int         =							c * s
	return [[c * c, cs], [cs, s * s]]






def 						lowercase				(	_snake_case		: float	)	->list[list[float]]:
	"""simple docstring"""





	__snake_case      ,				__snake_case      :		Union[str, Any]         =							cos(_snake_case	), sin(_snake_case	)
	__snake_case      :		Optional[int]         =							c * s
	return [[2 * c - 1, 2 * cs], [2 * cs, 2 * s - 1]]


print(F'    {scaling(5) = }')
print(F'  {rotation(45) = }')
print(F'{projection(45) = }')

print(F'{reflection(45) = }')







"""simple docstring"""

UpperCamelCase      :							int          =					1_0**8






def 				A		(							snake_case :int						) ->      bool:
 if n % 1_0 == 0:
  return False
 __UpperCamelCase							    =			str(snake_case						)
 return s == s[::-1]






def 				A		(							) ->      int:
 __UpperCamelCase							    =			set()
 __UpperCamelCase							    =			1
 __UpperCamelCase							    =			5
 while sum_squares < LIMIT:
  __UpperCamelCase							    =			first_square + 1
  while sum_squares < LIMIT:
   if is_palindrome(snake_case						):
    answer.add(snake_case						)
   last_square += 1
   sum_squares += last_square**2
  first_square += 1
  __UpperCamelCase							    =			first_square**2 + (first_square + 1) ** 2

 return sum(snake_case						)


if __name__ == "__main__":
      print(solution())



