






from collections import defaultdict
from math import gcd




def 				A		(					lowercase__  :  str = 150_0000  )		-> Dict:
	UpperCamelCase__ :List[Any]						=      defaultdict(_A  )
	UpperCamelCase__ :Optional[Any]						=      2
	while 2 * euclid_m * (euclid_m + 1) <= limit:
		for euclid_n in range((euclid_m % 2) + 1 ,		_A ,		2  ):
			if gcd(_A ,		_A  ) > 1:
				continue
			UpperCamelCase__ :str						=      2 * euclid_m * (euclid_m + euclid_n)
			for perimeter in range(_A ,		limit + 1 ,		_A  ):
				frequencies[perimeter] += 1
		euclid_m += 1
	return sum(1 for frequency in frequencies.values() if frequency == 1  )


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





def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





	snake_case_						       =	1
	for i in range(1	,      num + 1				):
		fact *= i
	return fact


def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





	snake_case_						       =	0
	while number > 0:
		snake_case_						       =	number % 10
		sum_of_digits += last_digit
		snake_case_						       =	number // 10  # Removing the last_digit from the given number
	return sum_of_digits


def 		lowerCamelCase__       (						_A = 100				):







	'''simple docstring'''





	snake_case_						       =	factorial(_A				)
	snake_case_						       =	split_and_add(_A				)
	return result


if __name__ == "__main__":
		print(solution(int(input("Enter the Number: ").strip())))
