



from collections import defaultdict
from math import gcd



def __lowerCAmelCase (     SCREAMING_SNAKE_CASE_ = 150_0000  ):
			lowercase__					  =				defaultdict(SCREAMING_SNAKE_CASE_  )
			lowercase__					  =				2
			while 2 * euclid_m * (euclid_m + 1) <= limit:
						for euclid_n in range((euclid_m % 2) + 1						,  SCREAMING_SNAKE_CASE_						,  2  ):
									if gcd(SCREAMING_SNAKE_CASE_						,  SCREAMING_SNAKE_CASE_  ) > 1:
												continue
									lowercase__					  =				2 * euclid_m * (euclid_m + euclid_n)
									for perimeter in range(SCREAMING_SNAKE_CASE_						,  limit + 1						,  SCREAMING_SNAKE_CASE_  ):
												frequencies[perimeter] += 1
						euclid_m += 1
			return sum(1 for frequency in frequencies.values() if frequency == 1  )


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









from transformers import HfArgumentParser, TensorFlowBenchmark, TensorFlowBenchmarkArguments



def __lowerCAmelCase (     ):
			lowercase__					  =				HfArgumentParser(SCREAMING_SNAKE_CASE_  )
			lowercase__					  =				parser.parse_args_into_dataclasses()[0]
			lowercase__					  =				TensorFlowBenchmark(args=SCREAMING_SNAKE_CASE_  )
			try:
						lowercase__					  =				parser.parse_args_into_dataclasses()[0]
			except ValueError as e:
						lowercase__					  =				"Arg --no_{0} is no longer used, please use --no-{0} instead."
						lowercase__					  =				" ".join(str(SCREAMING_SNAKE_CASE_  ).split(" "  )[:-1]  )
						lowercase__					  =				""
						lowercase__					  =				eval(str(SCREAMING_SNAKE_CASE_  ).split(" "  )[-1]  )
						lowercase__					  =				[]
						for arg in depreciated_args:
									# arg[2:] removes '--'
									if arg[2:] in TensorFlowBenchmark.deprecated_args:
												# arg[5:] removes '--no_'
												full_error_msg += arg_error_msg.format(arg[5:]  )
									else:
												wrong_args.append(SCREAMING_SNAKE_CASE_  )
						if len(SCREAMING_SNAKE_CASE_  ) > 0:
									lowercase__					  =				full_error_msg + begin_error_msg + str(SCREAMING_SNAKE_CASE_  )
						raise ValueError(SCREAMING_SNAKE_CASE_  )
			benchmark.run()


if __name__ == "__main__":
							main()




