
"""simple docstring"""







from ...configuration_utils import PretrainedConfig
from ...utils import logging


SCREAMING_SNAKE_CASE_     				=   logging.get_logger(__name__)

SCREAMING_SNAKE_CASE_     				=   {
    'facebook/regnet-y-040': 'https://huggingface.co/facebook/regnet-y-040/blob/main/config.json',
}






class     __a			(					lowerCAmelCase_			):
       _lowerCamelCase							:							List[Any]       =			'regnet'
       _lowerCamelCase							:							Dict       =			['x', 'y']







       def __init__(					self							,lowerCamelCase_=3							,lowerCamelCase_=32							,lowerCamelCase_=[128, 192, 512, 1088]							,lowerCamelCase_=[2, 6, 12, 2]							,lowerCamelCase_=64							,lowerCamelCase_="y"							,lowerCamelCase_="relu"							,**lowerCamelCase_							,):



          '''simple docstring'''

          super().__init__(**lowerCamelCase_		)
          if layer_type not in self.layer_types:
             raise ValueError(f'''layer_type={layer_type} is not one of {','.join(self.layer_types		)}'''		)
          _UpperCAmelCase   	=					num_channels
          _UpperCAmelCase   	=					embedding_size
          _UpperCAmelCase   	=					hidden_sizes
          _UpperCAmelCase   	=					depths
          _UpperCAmelCase   	=					groups_width
          _UpperCAmelCase   	=					layer_type
          _UpperCAmelCase   	=					hidden_act
          # always downsample in the first stage
          _UpperCAmelCase   	=					True



"""simple docstring"""







from math import floor, sqrt
def 			__UpperCAmelCase		(		a_			:		int				)     ->       int:
   _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 			__UpperCAmelCase		(		a_			:		int = 1_00_00				)     ->       int:
   _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()))}''')

