



from __future__ import annotations

from collections.abc import Callable





def 	__snake_case      (     _UpperCAmelCase  ,					_UpperCAmelCase  ,					_UpperCAmelCase  ,					_UpperCAmelCase = 100  ,					):
    __a					=							x_start
    __a					=							fnc(_UpperCAmelCase							)
    __a					=							0.0

    for _ in range(_UpperCAmelCase							):
        # Approximates small segments of curve as linear and solve
        # for trapezoidal area
        __a					=							(x_end - x_start) / steps + xa
        __a					=							fnc(_UpperCAmelCase							)
        area += abs(fxa + fxa							) * (xa - xa) / 2

        # Increment step
        __a					=							xa
        __a					=							fxa
    return area


if __name__ == "__main__":





 def 	__snake_case      (     _UpperCAmelCase							):
     return x**3

 print('''f(x) = x^3''')
 print('''The area between the curve, x = -10, x = 10 and the x axis is:''')
 __snake_case		:Optional[int] 						=	10
 while i <= 10_0000:
  __snake_case		:Tuple 						=	trapezoidal_area(f, -5, 5, i)
  print(f'with {i} steps: {area}')
  i *= 10










from math import floor, sqrt





def 	__snake_case      (     _UpperCAmelCase							):
    __a					=							0.0
    __a					=							1.0
    __a					=							int(sqrt(_UpperCAmelCase							)							)
    __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 	__snake_case      (     _UpperCAmelCase = 10000							):
    __a					=							0
    for i in range(2  ,					n + 1							):
        __a					=							sqrt(_UpperCAmelCase							)
        if sr - floor(_UpperCAmelCase							) != 0 and continuous_fraction_period(_UpperCAmelCase							) % 2 == 1:
            count_odd_periods += 1
    return count_odd_periods


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





