






"""simple docstring"""





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


A__       :			List[Any]=						logging.get_logger(__name__)

A__       :			List[Any]=						{
    """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  __lowerCamelCase     (	lowerCamelCase_	):
   a   :					Any			    ="""opt"""
   a   :					Optional[int]			    =["""past_key_values"""]

   def __init__(       self			,					snake_case_=5_0272			,					snake_case_=768			,					snake_case_=12			,					snake_case_=3072			,					snake_case_=2048			,					snake_case_=True			,					snake_case_=False			,					snake_case_=None			,					snake_case_=0.1			,					snake_case_=0.0			,					snake_case_=12			,					snake_case_="relu"			,					snake_case_=0.0			,					snake_case_=0.02			,					snake_case_=True			,					snake_case_=1			,					snake_case_=2			,					snake_case_=2			,					snake_case_=True			,					snake_case_=True			,					**snake_case_			,					)		->							Tuple:
       super().__init__(
           pad_token_id=snake_case_			,					bos_token_id=snake_case_			,					eos_token_id=snake_case_			,					**snake_case_			,					)
       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 __future__ import annotations

_lowerCamelCase							={1: 1}







def      snake_case__							(  lowerCAmelCase_     ):





     """simple docstring"""







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







def      snake_case__							(  lowerCAmelCase_ = 1000000     ):





     """simple docstring"""







     SCREAMING_SNAKE_CASE 		=max((collatz_sequence_length(lowerCAmelCase_     ), i) for i in range(1,       lowerCAmelCase_     )     )
     return result[1]


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

