




def   _SCREAMING_SNAKE_CASE       (							lowercase_ = 1_00_00_00						)						->		int:
 A__	=    1
 A__	=    1
 A__	=    {1: 1}

 for inputa in range(2      ,			_lowerCAmelCase						):
  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())))











"""simple docstring"""



from argparse import ArgumentParser

from .env import EnvironmentCommand







def   _SCREAMING_SNAKE_CASE       (							)						->		List[Any]:
 A__	=    ArgumentParser("Diffusers CLI tool"      ,			usage="diffusers-cli <command> [<args>]"						)
 A__	=    parser.add_subparsers(help="diffusers-cli command helpers"						)

 # Register commands
 EnvironmentCommand.register_subcommand(lowercase_						)

 # Let's go
 A__	=    parser.parse_args()

 if not hasattr(lowercase_      ,			"func"						):
  parser.print_help()
  exit(1						)

 # Run
 A__	=    args.func(lowercase_						)
 service.run()


if __name__ == "__main__":
      main()





