

def 							__SCREAMING_SNAKE_CASE							( lowerCAmelCase:     list       )      ->				list:

				for insert_index, insert_value in enumerate(collection[1:]       ):
								_UpperCAmelCase				:						Dict       						=			insert_index
								while insert_index >= 0 and insert_value < collection[insert_index]:
												_UpperCAmelCase				:						List[str]       						=			collection[insert_index]
												insert_index -= 1
								if insert_index != temp_index:
												_UpperCAmelCase				:						str       						=			insert_value
				return collection


if __name__ == "__main__":
					from doctest import testmod

					testmod()

					SCREAMING_SNAKE_CASE_						=					input('Enter numbers separated by a comma:\n').strip()
					SCREAMING_SNAKE_CASE_						=					[int(item) for item in user_input.split(',')]
					print(F'''{insertion_sort(unsorted) = }''')




"""simple docstring"""

from math import floor, sqrt




def 			lowercase__  (    lowerCAmelCase :    int       )       ->					int:






    """simple docstring"""




    UpperCAmelCase  	=    0.0
    UpperCAmelCase  	=    1.0
    UpperCAmelCase  	=    int(sqrt(lowerCAmelCase       )       )
    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 			lowercase__  (    lowerCAmelCase :    int = 10_000       )       ->					int:






    """simple docstring"""




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


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



