



'''simple docstring'''



from math import ceil, sqrt
def        UpperCAmelCase (    A	:					Tuple = 1000000					):
							SCREAMING_SNAKE_CASE       :   List[Any]         =      0

							for outer_width in range(3       ,		(limit // 4) + 2					):
														if outer_width**2 > limit:
																					SCREAMING_SNAKE_CASE       :   str         =      max(ceil(sqrt(outer_width**2 - limit					)					)       ,		1					)
														else:
																					SCREAMING_SNAKE_CASE       :   str         =      1
														if (outer_width - hole_width_lower_bound) % 2:
																					hole_width_lower_bound += 1

														answer += (outer_width - hole_width_lower_bound - 2) // 2 + 1

							return answer


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







def 			lowerCamelCase__			(       _a				,      _a):
	SCREAMING_SNAKE_CASE :   Optional[int]					  =							0
	while b > 0:
		if b & 1:
			res += a

		a += a
		b >>= 1

	return res

def 			lowerCamelCase__			(       _a				,      _a				,      _a):
	SCREAMING_SNAKE_CASE :   Optional[int]					  =							0
	while b > 0:
		if b & 1:
			SCREAMING_SNAKE_CASE :   Optional[Any]					  =							((res % c) + (a % c)) % c

		a += a
		b >>= 1

	return res