


from collections import defaultdict
from math import gcd






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


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








snake_case							:	str					      =				{
    0: '''0''',
    1: '''1''',
    2: '''2''',
    3: '''3''',
    4: '''4''',
    5: '''5''',
    6: '''6''',
    7: '''7''',
    8: '''8''',
    9: '''9''',
    10: '''a''',
    11: '''b''',
    12: '''c''',
    13: '''d''',
    14: '''e''',
    15: '''f''',
}






def 							__lowercase       (			__lowerCAmelCase							:    float       ):
							assert type(__lowerCAmelCase       ) in (int, float) and decimal == int(__lowerCAmelCase       )
							a__					=					int(__lowerCAmelCase       )
							a__					=					''
							a__					=					False
							if decimal < 0:
														a__					=					True
														decimal *= -1
							while decimal > 0:
														a__				, a__					=					divmod(__lowerCAmelCase ,   1_6       )
														a__					=					values[remainder] + hexadecimal
							a__					=					'0x' + hexadecimal
							if negative:
														a__					=					'-' + hexadecimal
							return hexadecimal


if __name__ == "__main__":
						import doctest

						doctest.testmod()




