
A		:   List[Any]         =    10**8




def   UpperCamelCase__     (    SCREAMING_SNAKE_CASE_  :  int					)     ->    bool:
						if n % 10 == 0:
												return False
						_lowercase									=				str(SCREAMING_SNAKE_CASE_					)
						return s == s[::-1]




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

						return sum(SCREAMING_SNAKE_CASE_					)


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

from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


A		:   Any         =    {'''configuration_bit''': ['''BIT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''BitConfig''', '''BitOnnxConfig''']}

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		A		:   Any         =    [
		    '''BIT_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''BitForImageClassification''',
		    '''BitModel''',
		    '''BitPreTrainedModel''',
		    '''BitBackbone''',
		]


try:
		if not is_vision_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		A		:   Tuple         =    ['''BitImageProcessor''']


if TYPE_CHECKING:
		from .configuration_bit import BIT_PRETRAINED_CONFIG_ARCHIVE_MAP, BitConfig, BitOnnxConfig

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_bit import (
				    BIT_PRETRAINED_MODEL_ARCHIVE_LIST,
				    BitBackbone,
				    BitForImageClassification,
				    BitModel,
				    BitPreTrainedModel,
				)

		try:
				if not is_vision_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .image_processing_bit import BitImageProcessor

else:
		import sys

		A		:   int         =    _LazyModule(__name__, globals()['''__file__'''], _import_structure)