
from math import floor, sqrt




def 						A_			(				snake_case				: int			)   ->     str:



						'''simple docstring'''

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




def 						A_			(				snake_case				: int = 10000			)   ->     Dict:



						'''simple docstring'''

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






'''simple docstring'''







def   lowerCAmelCase(  a__    :  int = 1000      ):







       '''simple docstring'''






       lowerCamelCase__				   =      0
       for i in range(a__      ):
              if i % 3 == 0 or i % 5 == 0:
                     result += i
       return result


if __name__ == "__main__":
    print(f'{solution() = }')

