def 	__SCREAMING_SNAKE_CASE  (					__UpperCamelCase    :       int = 1_00_00_00	)							->					int:







  """simple docstring"""





  SCREAMING_SNAKE_CASE__										=      1
  SCREAMING_SNAKE_CASE__										=      1
  SCREAMING_SNAKE_CASE__										=      {1: 1}

  for inputa in range(2 ,     __UpperCamelCase	):
    SCREAMING_SNAKE_CASE__										=      0
    SCREAMING_SNAKE_CASE__										=      inputa

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

    if inputa not in counters:
      SCREAMING_SNAKE_CASE__										=      counter

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


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

import warnings

from ..trainer import Trainer
from ..utils import logging


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







class __snake_case				(						lowerCamelCase_		):




   def __init__(    self			:				Tuple       ,	_lowercase			:				Optional[int]=None       ,	**_lowercase			:				List[Any]      ):



     """simple docstring"""






     warnings.warn(
         """`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` """
         """instead."""       ,	_lowercase       ,	)
     super().__init__(args=_lowercase       ,	**_lowercase      )
