




from collections import OrderedDict
from typing import Mapping

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


_A     =			logging.get_logger(__name__)

_A     =			{
    '''kssteven/ibert-roberta-base''': '''https://huggingface.co/kssteven/ibert-roberta-base/resolve/main/config.json''',
    '''kssteven/ibert-roberta-large''': '''https://huggingface.co/kssteven/ibert-roberta-large/resolve/main/config.json''',
    '''kssteven/ibert-roberta-large-mnli''': (
        '''https://huggingface.co/kssteven/ibert-roberta-large-mnli/resolve/main/config.json'''
    ),
}


class  A		(  __UpperCAmelCase     ):
		__snake_case									=   'ibert'



		def __init__(     self,	UpperCamelCase__=3_0522,	UpperCamelCase__=768,	UpperCamelCase__=12,	UpperCamelCase__=12,	UpperCamelCase__=3072,	UpperCamelCase__="gelu",	UpperCamelCase__=0.1,	UpperCamelCase__=0.1,	UpperCamelCase__=512,	UpperCamelCase__=2,	UpperCamelCase__=0.02,	UpperCamelCase__=1E-12,	UpperCamelCase__=1,	UpperCamelCase__=0,	UpperCamelCase__=2,	UpperCamelCase__="absolute",	UpperCamelCase__=False,	UpperCamelCase__="none",	**UpperCamelCase__,	):







								"""simple docstring"""



								super().__init__(pad_token_id=UpperCamelCase__,	bos_token_id=UpperCamelCase__,	eos_token_id=UpperCamelCase__,	**UpperCamelCase__   )

								lowerCAmelCase_      			=  vocab_size
								lowerCAmelCase_      			=  hidden_size
								lowerCAmelCase_      			=  num_hidden_layers
								lowerCAmelCase_      			=  num_attention_heads
								lowerCAmelCase_      			=  hidden_act
								lowerCAmelCase_      			=  intermediate_size
								lowerCAmelCase_      			=  hidden_dropout_prob
								lowerCAmelCase_      			=  attention_probs_dropout_prob
								lowerCAmelCase_      			=  max_position_embeddings
								lowerCAmelCase_      			=  type_vocab_size
								lowerCAmelCase_      			=  initializer_range
								lowerCAmelCase_      			=  layer_norm_eps
								lowerCAmelCase_      			=  position_embedding_type
								lowerCAmelCase_      			=  quant_mode
								lowerCAmelCase_      			=  force_dequant







class  A		(  __UpperCAmelCase     ):



		@property
		def        SCREAMING_SNAKE_CASE__			(     self   ):







								"""simple docstring"""



								if self.task == "multiple-choice":
														lowerCAmelCase_      			=  {0: '''batch''', 1: '''choice''', 2: '''sequence'''}
								else:
														lowerCAmelCase_      			=  {0: '''batch''', 1: '''sequence'''}
								return OrderedDict(
								    [
								        ('''input_ids''', dynamic_axis),
								        ('''attention_mask''', dynamic_axis),
								    ]   )










def __UpperCamelCase			(       _A = 1000000  ):
						lowerCAmelCase_      			=  1
						lowerCAmelCase_      			=  1
						lowerCAmelCase_      			=  {1: 1}

						for inputa in range(2 ,  _A  ):
												lowerCAmelCase_      			=  0
												lowerCAmelCase_      			=  inputa

												while True:
																		if number in counters:
																								counter += counters[number]
																								break
																		if number % 2 == 0:
																								number //= 2
																								counter += 1
																		else:
																								lowerCAmelCase_      			=  (3 * number) + 1
																								counter += 1

												if inputa not in counters:
																		lowerCAmelCase_      			=  counter

												if counter > pre_counter:
																		lowerCAmelCase_      			=  inputa
																		lowerCAmelCase_      			=  counter
						return largest_number


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




