


"""simple docstring"""






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


lowercase  		=			logging.get_logger(__name__)

lowercase  		=			{
    """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 			SCREAMING_SNAKE_CASE_  (   snake_case_):




							'''simple docstring'''





							__magic_name__					:     Optional[Any]				  =  '''opt'''
							__magic_name__					:     str				  =  ['''past_key_values''']




							def __init__(						self	,					lowerCamelCase__=50_272	,					lowerCamelCase__=768	,					lowerCamelCase__=12	,					lowerCamelCase__=3_072	,					lowerCamelCase__=2_048	,					lowerCamelCase__=True	,					lowerCamelCase__=False	,					lowerCamelCase__=None	,					lowerCamelCase__=0.1	,					lowerCamelCase__=0.0	,					lowerCamelCase__=12	,					lowerCamelCase__="relu"	,					lowerCamelCase__=0.0	,					lowerCamelCase__=0.02	,					lowerCamelCase__=True	,					lowerCamelCase__=1	,					lowerCamelCase__=2	,					lowerCamelCase__=2	,					lowerCamelCase__=True	,					lowerCamelCase__=True	,					**lowerCamelCase__	,					)   ->	Optional[Any]:







								'''simple docstring'''




								super().__init__(
								    pad_token_id=__lowerCamelCase	,					bos_token_id=__lowerCamelCase	,					eos_token_id=__lowerCamelCase	,					**__lowerCamelCase	,					)
								snake_case__  :						int		=      vocab_size
								snake_case__  :						Optional[int]		=      max_position_embeddings
								snake_case__  :						Any		=      num_attention_heads
								snake_case__  :						int		=      word_embed_proj_dim if word_embed_proj_dim is not None else hidden_size
								snake_case__  :						int		=      ffn_dim
								snake_case__  :						List[str]		=      hidden_size
								snake_case__  :						Any		=      num_hidden_layers
								snake_case__  :						Optional[int]		=      dropout
								snake_case__  :						Any		=      attention_dropout
								snake_case__  :						Any		=      activation_function
								snake_case__  :						Optional[Any]		=      init_std
								snake_case__  :						List[str]		=      layerdrop
								snake_case__  :						Dict		=      use_cache
								snake_case__  :						str		=      do_layer_norm_before
								# We keep these variables at `True` for backward compatibility.
								snake_case__  :						Any		=      enable_bias
								snake_case__  :						List[str]		=      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
								snake_case__  :						Any		=      _remove_final_layer_norm













"""simple docstring"""

from __future__ import annotations

lowercase           =							{1: 1}






def _lowerCAmelCase						(	__lowerCamelCase:int ):

						'''simple docstring'''






						if n in COLLATZ_SEQUENCE_LENGTHS:
												return COLLATZ_SEQUENCE_LENGTHS[n]
						__magic_name__      =  n // 2 if n % 2 == 0 else 3 * n + 1
						__magic_name__      =  collatz_sequence_length(__lowerCamelCase ) + 1
						__magic_name__      =  sequence_length
						return sequence_length






def _lowerCAmelCase						(	__lowerCamelCase:int = 1_0_0_0_0_0_0 ):

						'''simple docstring'''






						__magic_name__      =  max((collatz_sequence_length(__lowerCamelCase ), i) for i in range(1			,    __lowerCamelCase ) )
						return result[1]


if __name__ == "__main__":
			print(solution(int(input().strip())))



