


'''simple docstring'''







import warnings

from .generation import TFGenerationMixin


class  lowerCAmelCase_						(       snake_case__      ):





  """simple docstring"""



  warnings.warn(
      """Importing `TFGenerationMixin` from `src/transformers/generation_tf_utils.py` is deprecated and will """
      """be removed in Transformers v5. Import as `from transformers import TFGenerationMixin` instead."""		,    snake_case__		,    )










'''simple docstring'''







def        __lowercase						(      __SCREAMING_SNAKE_CASE = 100_0000		)				->					int:
     """simple docstring"""




     __a       =   1
     __a       =   1
     __a       =   {1: 1}

     for inputa in range(2				,  __SCREAMING_SNAKE_CASE		):
          __a       =   0
          __a       =   inputa

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

          if inputa not in counters:
               __a       =   counter

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


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






