






def 						_a    (      a :int )							->			bool:
 if not isinstance(a	,							a ):
  a		  =      F"""Input value of [number={number}] must be an integer"""
  raise TypeError(a )
 if number < 0:
  return False
 a		  =      number * number
 while number > 0:
  if number % 10 != number_square % 10:
   return False
  number //= 10
  number_square //= 10
 return True


if __name__ == "__main__":
     import doctest

     doctest.testmod()










def 						_a    (      a :int = 100 )							->			int:
 a		  =      n * (n + 1) * (2 * n + 1) / 6
 a		  =      (n * (n + 1) / 2) ** 2
 return int(square_of_sum - sum_of_squares )


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


