
'''simple docstring'''





from collections.abc import Callable

A							     = Callable[[float], float]  # type alias for a real -> real function
def 	snake_case_							(				_a  :				RealFunc			,       _a  :				RealFunc			,       _a  :				int			,       ):
      snake_case_    							=				float(_a      )
      while True:
            try:
                  snake_case_    							=				prev_guess - function(_a      ) / derivative(_a      )
            except ZeroDivisionError:
                  raise ZeroDivisionError("Could not find root"      ) from None
            if abs(prev_guess - next_guess      ) < 10**-5:
                  return next_guess
            snake_case_    							=				next_guess
def 	snake_case_							(				_a  :				float      ):
      return (x**3) - (2 * x) - 5
def 	snake_case_							(				_a  :				float      ):
      return 3 * (x**2) - 2


if __name__ == "__main__":
     print(newton(f, fa, 3))






'''simple docstring'''


from math import floor, sqrt






def 			UpperCAmelCase_							(		lowercase__							):


     '''simple docstring'''







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






def 			UpperCAmelCase_							(		lowercase__ = 1_0_0_0_0							):


     '''simple docstring'''







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


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


