

"""simple docstring"""




from collections import defaultdict
from math import gcd





def       lowercase__						(       snake_case_   :int = 1_500_000    ):
	__UpperCAmelCase      		= defaultdict(snake_case_    )
	__UpperCAmelCase      		= 2
	while 2 * euclid_m * (euclid_m + 1) <= limit:
		for euclid_n in range((euclid_m % 2) + 1			,		snake_case_			,		2    ):
			if gcd(snake_case_			,		snake_case_    ) > 1:
				continue
			__UpperCAmelCase      		= 2 * euclid_m * (euclid_m + euclid_n)
			for perimeter in range(snake_case_			,		limit + 1			,		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 __future__ import annotations



def 							UpperCamelCase_( lowerCamelCase_					)       ->		float:
    if not nums:
        raise ValueError('List is empty'					)
    return sum(lowerCamelCase_					) / len(lowerCamelCase_					)


if __name__ == "__main__":
 import doctest

 doctest.testmod()


