
"""simple docstring"""







from collections import OrderedDict
from typing import Mapping

from packaging import version

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


SCREAMING_SNAKE_CASE_     				=   logging.get_logger(__name__)

SCREAMING_SNAKE_CASE_     				=   {
    'MBZUAI/swiftformer-xs': 'https://huggingface.co/MBZUAI/swiftformer-xs/resolve/main/config.json',
}






class     __a			(					lowerCAmelCase_			):
       _lowerCamelCase							:							Union[str, Any]       =			'swiftformer'







       def __init__(					self							,lowerCamelCase_=3							,lowerCamelCase_=[3, 3, 6, 4]							,lowerCamelCase_=[48, 56, 112, 220]							,lowerCamelCase_=4							,lowerCamelCase_=[True, True, True, True]							,lowerCamelCase_="gelu"							,lowerCamelCase_=3							,lowerCamelCase_=2							,lowerCamelCase_=1							,lowerCamelCase_=0.0							,lowerCamelCase_=True							,lowerCamelCase_=1e-5							,lowerCamelCase_=1e-5							,**lowerCamelCase_							,):



          '''simple docstring'''

          super().__init__(**lowerCamelCase_		)
          _UpperCAmelCase   	=					num_channels
          _UpperCAmelCase   	=					depths
          _UpperCAmelCase   	=					embed_dims
          _UpperCAmelCase   	=					mlp_ratio
          _UpperCAmelCase   	=					downsamples
          _UpperCAmelCase   	=					hidden_act
          _UpperCAmelCase   	=					down_patch_size
          _UpperCAmelCase   	=					down_stride
          _UpperCAmelCase   	=					down_pad
          _UpperCAmelCase   	=					drop_path_rate
          _UpperCAmelCase   	=					use_layer_scale
          _UpperCAmelCase   	=					layer_scale_init_value
          _UpperCAmelCase   	=					batch_norm_eps






class     __a			(					lowerCAmelCase_			):
       _lowerCamelCase							:							List[Any]       =			version.parse('1.11'			)







       @property
       def    _snake_case			(					self		):



          '''simple docstring'''

          return OrderedDict(
              [
                  ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
              ]		)







       @property
       def    _snake_case			(					self		):



          '''simple docstring'''

          return 1e-4



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

