





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


__A       :					List[str]     					=     logging.get_logger(__name__)

__A       :					Optional[int]     					=     {
    'facebook/opt-125m': 'https://huggingface.co/facebook/opt-125m/blob/main/config.json',
    'facebook/opt-350m': 'https://huggingface.co/facebook/opt-350m/blob/main/config.json',
    'facebook/opt-1.3b': 'https://huggingface.co/facebook/opt-1.3b/blob/main/config.json',
    'facebook/opt-2.7b': 'https://huggingface.co/facebook/opt-2.7b/blob/main/config.json',
    'facebook/opt-6.7b': 'https://huggingface.co/facebook/opt-6.7b/blob/main/config.json',
    'facebook/opt-13b': 'https://huggingface.co/facebook/opt-13b/blob/main/config.json',
}

class 			A_ (UpperCAmelCase_    ):
	UpperCAmelCase__      =    '''opt'''
	UpperCAmelCase__      =    ['''past_key_values''']
	def __init__(					self							,      _A=5_0_2_7_2							,      _A=7_6_8							,      _A=1_2							,      _A=3_0_7_2							,      _A=2_0_4_8							,      _A=True							,      _A=False							,      _A=None							,      _A=0.1							,      _A=0.0							,      _A=1_2							,      _A="relu"							,      _A=0.0							,      _A=0.02							,      _A=True							,      _A=1							,      _A=2							,      _A=2							,      _A=True							,      _A=True							,      **_A							,      ):






				'''simple docstring'''







				super().__init__(
				    pad_token_id=__UpperCamelCase							,      bos_token_id=__UpperCamelCase							,      eos_token_id=__UpperCamelCase							,      **__UpperCamelCase							,      )
				UpperCAmelCase     	=       vocab_size
				UpperCAmelCase     	=       max_position_embeddings
				UpperCAmelCase     	=       num_attention_heads
				UpperCAmelCase     	=       word_embed_proj_dim if word_embed_proj_dim is not None else hidden_size
				UpperCAmelCase     	=       ffn_dim
				UpperCAmelCase     	=       hidden_size
				UpperCAmelCase     	=       num_hidden_layers
				UpperCAmelCase     	=       dropout
				UpperCAmelCase     	=       attention_dropout
				UpperCAmelCase     	=       activation_function
				UpperCAmelCase     	=       init_std
				UpperCAmelCase     	=       layerdrop
				UpperCAmelCase     	=       use_cache
				UpperCAmelCase     	=       do_layer_norm_before
				# We keep these variables at `True` for backward compatibility.
				UpperCAmelCase     	=       enable_bias
				UpperCAmelCase     	=       layer_norm_elementwise_affine

				# Note that the only purpose of `_remove_final_layer_norm` is to keep backward compatibility
				# with checkpoints that have been fine-tuned before transformers v4.20.1
				# see https://github.com/facebookresearch/metaseq/pull/164
				UpperCAmelCase     	=       _remove_final_layer_norm









from math import floor, sqrt





def 		__SCREAMING_SNAKE_CASE						(       UpperCamelCase__				)						->       int:







			'''simple docstring'''

			UpperCAmelCase     	=       0.0
			UpperCAmelCase     	=       1.0
			UpperCAmelCase     	=       int(sqrt(UpperCamelCase__				)				)
			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 		__SCREAMING_SNAKE_CASE						(       UpperCamelCase__ = 1_0000				)						->       int:







			'''simple docstring'''

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


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



