


'''simple docstring'''

from collections import defaultdict
from math import ceil, sqrt

def 							__magic_name__(						lowerCamelCase = 1_0_0_0_0_0_0,				lowerCamelCase = 1_0):
						__lowerCAmelCase							       =				defaultdict(lowerCamelCase)

						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(lowerCamelCase,				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 <= 1_0)


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





'''simple docstring'''

from torch import nn

def 							__magic_name__(						lowerCamelCase):
						if act_fn in ["swish", "silu"]:
												return nn.SiLU()
						elif act_fn == "mish":
												return nn.Mish()
						elif act_fn == "gelu":
												return nn.GELU()
						else:
												raise ValueError(F"""Unsupported activation function: {act_fn}""")

