

from math import floor, sqrt



def    snake_case_(_UpperCamelCase  )							->			int:



  """simple docstring"""






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



def    snake_case_(_UpperCamelCase = 10_000  )							->			int:



  """simple docstring"""






  _snake_case		=							0
  for i in range(2				, n + 1  ):
    _snake_case		=							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()))}''')




import numpy as np



def    snake_case_(_UpperCamelCase  )							->			Any:



  """simple docstring"""






  _snake_case		=							np.exp(_UpperCamelCase  )

  # Add up the all the exponentials
  _snake_case		=							np.sum(_UpperCamelCase  )

  # Divide every exponent by the sum of all exponents
  _snake_case		=							exponent_vector / sum_of_exponents

  return softmax_vector


if __name__ == "__main__":
 print(softmax((0,)))

