



'''simple docstring'''


from __future__ import annotations

from enum import Enum, unique
from typing import TypeVar

# Create a generic variable that can be 'Enum', or any subclass.
lowercase											=      TypeVar('''T''', bound='''Enum''')







@unique
class 						UpperCAmelCase						(		__a):


 '''simple docstring'''




 __magic_name__       :			Tuple	=   80
 __magic_name__       :			str	=   70
 __magic_name__       :			List[str]	=   60
 __magic_name__       :			str	=   50
 __magic_name__       :			str	=   40
 __magic_name__       :			Optional[Any]	=   30
 __magic_name__       :			str	=   20
 __magic_name__       :			Any	=   10







@unique
class 						UpperCAmelCase						(		__a):


 '''simple docstring'''




 __magic_name__       :			List[str]	=   24
 __magic_name__       :			Tuple	=   21
 __magic_name__       :			Tuple	=   18
 __magic_name__       :			List[Any]	=   15
 __magic_name__       :			List[str]	=   12
 __magic_name__       :			List[str]	=   9
 __magic_name__       :			Tuple	=   6
 __magic_name__       :			int	=   3
 __magic_name__       :			List[str]	=   2
 __magic_name__       :			Optional[Any]	=   1
 __magic_name__       :			Optional[Any]	=   -1
 __magic_name__       :			List[str]	=   -2
 __magic_name__       :			Optional[Any]	=   -3
 __magic_name__       :			List[str]	=   -6
 __magic_name__       :			List[Any]	=   -9
 __magic_name__       :			str	=   -12
 __magic_name__       :			Dict	=   -15
 __magic_name__       :			Any	=   -18
 __magic_name__       :			Tuple	=   -21
 __magic_name__       :			str	=   -24




 @classmethod
 def    lowercase_	( cls)			->   dict:



      """simple docstring"""







      return {unit.name: unit.value for unit in cls if unit.value > 0}




 @classmethod
 def    lowercase_	( cls)			->   dict:



      """simple docstring"""







      return {unit.name: unit.value for unit in cls if unit.value < 0}






def 			UpperCAmelCase_							(		lowercase__							):


     '''simple docstring'''







     a_									=SIUnit.get_positive() if value > 0 else SIUnit.get_negative()
     for name_prefix, value_prefix in prefixes.items():
          a_									=value / (1_0**value_prefix)
          if numerical_part > 1:
               return F"""{numerical_part!s} {name_prefix}"""
     return str(lowercase__							)






def 			UpperCAmelCase_							(		lowercase__							):


     '''simple docstring'''







     for prefix in BinaryUnit:
          a_									=value / (2**prefix.value)
          if numerical_part > 1:
               return F"""{numerical_part!s} {prefix.name}"""
     return str(lowercase__							)


if __name__ == "__main__":
  import doctest

  doctest.testmod()







'''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()))}""")


