


from math import floor, sqrt







def   lowerCamelCase(				a__):
				_SCREAMING_SNAKE_CASE     					=0.0
				_SCREAMING_SNAKE_CASE     					=1.0
				_SCREAMING_SNAKE_CASE     					=int(sqrt(a__))
				_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   lowerCamelCase(				a__ = 1_0000):
				_SCREAMING_SNAKE_CASE     					=0
				for i in range(2		,n + 1):
								_SCREAMING_SNAKE_CASE     					=sqrt(a__)
								if sr - floor(a__) != 0 and continuous_fraction_period(a__) % 2 == 1:
												count_odd_periods += 1
				return count_odd_periods


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



import math

class   A__							:




						def __init__(    self   : Optional[int]			,      _a   : int			,      _a   : List[Any]			,      _a   : int					)							->       Optional[int]:


										"""simple docstring"""





										_SCREAMING_SNAKE_CASE     					=x
										_SCREAMING_SNAKE_CASE     					=y
										_SCREAMING_SNAKE_CASE     					=z




						def __repr__(    self   : List[str]					)							->       str:


										"""simple docstring"""





										return f"Point({self.x}, {self.y}, {self.z})"







def   lowerCamelCase(				a__		,a__):
				return math.sqrt(abs((b.x - a.x) ** 2 + (b.y - a.y) ** 2 + (b.z - a.z) ** 2))


if __name__ == "__main__":
							import doctest

							doctest.testmod()