



'''simple docstring'''

from collections import defaultdict
from math import ceil, sqrt






def 		_snake_case		( _SCREAMING_SNAKE_CASE					:						int = 1_000_000							,		_SCREAMING_SNAKE_CASE					:						int = 10							)      ->						int:







	"""simple docstring"""
	lowerCAmelCase   =     defaultdict(_SCREAMING_SNAKE_CASE							)

	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(_SCREAMING_SNAKE_CASE							,		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() = }''')




'''simple docstring'''

import cmath
import math






def 		_snake_case		( _SCREAMING_SNAKE_CASE					:						float							,		_SCREAMING_SNAKE_CASE					:						float							,		_SCREAMING_SNAKE_CASE					:						float							,		_SCREAMING_SNAKE_CASE					:						float							)      ->						complex:







	"""simple docstring"""
	lowerCAmelCase   =     math.radians(_SCREAMING_SNAKE_CASE							)
	lowerCAmelCase   =     math.radians(_SCREAMING_SNAKE_CASE							)

	# Convert voltage and current to rectangular form
	lowerCAmelCase   =     cmath.rect(_SCREAMING_SNAKE_CASE							,		_SCREAMING_SNAKE_CASE							)
	lowerCAmelCase   =     cmath.rect(_SCREAMING_SNAKE_CASE							,		_SCREAMING_SNAKE_CASE							)

	# Calculate apparent power
	return voltage_rect * current_rect


if __name__ == "__main__":
				import doctest

				doctest.testmod()