


'''simple docstring'''







import math




def        __lowercase						(      __SCREAMING_SNAKE_CASE				,  __SCREAMING_SNAKE_CASE		)				->					List[Any]:
     """simple docstring"""




     __a       =   len(__SCREAMING_SNAKE_CASE		)
     __a       =   int(math.floor(math.sqrt(__SCREAMING_SNAKE_CASE		)		)		)
     __a       =   0
     while arr[min(__SCREAMING_SNAKE_CASE				,  __SCREAMING_SNAKE_CASE		) - 1] < x:
          __a       =   step
          step += int(math.floor(math.sqrt(__SCREAMING_SNAKE_CASE		)		)		)
          if prev >= n:
               return -1

     while arr[prev] < x:
          __a       =   prev + 1
          if prev == min(__SCREAMING_SNAKE_CASE				,  __SCREAMING_SNAKE_CASE		):
               return -1
     if arr[prev] == x:
          return prev
     return -1


if __name__ == "__main__":
 SCREAMING_SNAKE_CASE_      =			input('Enter numbers separated by a comma:\n').strip()
 SCREAMING_SNAKE_CASE_      =			[int(item) for item in user_input.split(',')]
 SCREAMING_SNAKE_CASE_      =			int(input('Enter the number to be searched:\n'))
 SCREAMING_SNAKE_CASE_      =			jump_search(arr, x)
 if res == -1:
  print('Number not found!')
 else:
  print(f"""Number {x} is at index {res}""")










'''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())))






