

"""simple docstring"""




from math import floor, sqrt

def 		A    (       snake_case__      ):




			'''simple docstring'''


			SCREAMING_SNAKE_CASE__									= 0.0
			SCREAMING_SNAKE_CASE__									= 1.0
			SCREAMING_SNAKE_CASE__									= int(sqrt(snake_case__      )      )
			SCREAMING_SNAKE_CASE__									= root
			SCREAMING_SNAKE_CASE__									= 0
			while integer_part != 2 * root:
						SCREAMING_SNAKE_CASE__									= denominator * integer_part - numerator
						SCREAMING_SNAKE_CASE__									= (n - numerator**2) / denominator
						SCREAMING_SNAKE_CASE__									= int((root + numerator) / denominator      )
						period += 1
			return period

def 		A    (       snake_case__ = 1_00_00      ):




			'''simple docstring'''


			SCREAMING_SNAKE_CASE__									= 0
			for i in range(2						,			n + 1      ):
						SCREAMING_SNAKE_CASE__									= sqrt(snake_case__      )
						if sr - floor(snake_case__      ) != 0 and continuous_fraction_period(snake_case__      ) % 2 == 1:
									count_odd_periods += 1
			return count_odd_periods


if __name__ == "__main__":
						print(F'{solution(int(input().strip()))}')





"""simple docstring"""




def 		A    (       snake_case__						,			snake_case__      ):




			'''simple docstring'''


			return a + b


if __name__ == "__main__":
						A_							:     List[str]     =	5
						A_							:     Optional[int]     =	6
						print(F'The sum of {a} + {b} is {add(a, b)}')


