


import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


__SCREAMING_SNAKE_CASE	:							Optional[Any]           =  logging.get_logger(__name__)


class        __lowerCamelCase      (				lowerCamelCase_ ):


				"""simple docstring"""







				def __init__(				self     :    str	,							*lowerCamelCase_     :    Tuple	,							**lowerCamelCase_     :    int					):
								warnings.warn(
								    """The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
								    """ use ViTImageProcessor instead."""	,							lowerCamelCase_	,							)
								super().__init__(*lowerCamelCase_	,							**lowerCamelCase_					)





from math import floor, sqrt

def 		snake_case_   (				lowercase__     :    int     ):






				'''simple docstring'''






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

def 		snake_case_   (				lowercase__     :    int = 1_00_00     ):






				'''simple docstring'''






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

