





def    __lowercase   (      _SCREAMING_SNAKE_CASE = 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 ,						_SCREAMING_SNAKE_CASE	):
            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())))









from pathlib import Path

import fire



def    __lowercase   (      _SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE	) ->   List[str]:


      '''simple docstring'''


      SCREAMING_SNAKE_CASE		=						Path(_SCREAMING_SNAKE_CASE	)
      SCREAMING_SNAKE_CASE		=						Path(_SCREAMING_SNAKE_CASE	)
      dest_dir.mkdir(exist_ok=_SCREAMING_SNAKE_CASE	)
      for path in src_dir.iterdir():
            SCREAMING_SNAKE_CASE		=						[x.rstrip() for x in list(path.open().readlines()	)][:n]
            SCREAMING_SNAKE_CASE		=						dest_dir.joinpath(path.name	)
            print(_SCREAMING_SNAKE_CASE	)
            dest_path.open("""w"""	).write("""\n""".join(_SCREAMING_SNAKE_CASE	)	)


if __name__ == "__main__":
      fire.Fire(minify)


