

from collections import defaultdict
from math import ceil, sqrt


def        __lowercase    (  UpperCAmelCase__ = 1_000_000		,					UpperCAmelCase__ = 10      ):

					"""simple docstring"""






					__lowerCAmelCase					=							defaultdict(a__      )

					for outer_width in range(3		,					(t_limit // 4) + 2      ):
										if outer_width * outer_width > t_limit:
															__lowerCAmelCase					=							max(
															    ceil(sqrt(outer_width * outer_width - t_limit      )      )		,					1      )
										else:
															__lowerCAmelCase					=							1

										hole_width_lower_bound += (outer_width - hole_width_lower_bound) % 2

										for hole_width in range(a__		,					outer_width - 1		,					2      ):
															count[outer_width * outer_width - hole_width * hole_width] += 1

					return sum(1 for n in count.values() if 1 <= n <= 10      )


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









import warnings

from ...utils import logging
from .image_processing_poolformer import PoolFormerImageProcessor


lowerCamelCase      				=     logging.get_logger(__name__)





class     snake_case_			(				_a							):


							"""simple docstring"""





							def __init__( self					,						*_A					,						**_A							):
												warnings.warn(
												    'The class PoolFormerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
												    ' Please use PoolFormerImageProcessor instead.'					,						_A					,						)
												super().__init__(*_A					,						**_A							)






