
"""simple docstring"""

from __future__ import annotations

_A				=					{1: 1}
def 						UpperCAmelCase   (						a_     ):





		'''simple docstring'''


		if n in COLLATZ_SEQUENCE_LENGTHS:
				return COLLATZ_SEQUENCE_LENGTHS[n]
		lowerCamelCase	:     int            =       n // 2 if n % 2 == 0 else 3 * n + 1
		lowerCamelCase	:     str            =       collatz_sequence_length(__lowerCamelCase     ) + 1
		lowerCamelCase	:     Union[str, Any]            =       sequence_length
		return sequence_length
def 						UpperCAmelCase   (						a_ = 100_0000     ):





		'''simple docstring'''


		lowerCamelCase	:     Any            =       max((collatz_sequence_length(__lowerCamelCase     ), i) for i in range(1,		__lowerCamelCase     )     )
		return result[1]


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














"""simple docstring"""

import warnings

from ...utils import logging
from .image_processing_conditional_detr import ConditionalDetrImageProcessor


lowercase           =							logging.get_logger(__name__)

class     A_				(   snake_case_	):







				def __init__(				self				:    str    ,     *__lowerCamelCase				:    List[Any]    ,     **__lowerCamelCase				:    List[str]						)					->       None:
										warnings.warn(
										    "The class ConditionalDetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
										    " Please use ConditionalDetrImageProcessor instead."    ,     __lowerCamelCase    ,     )
										super().__init__(*__lowerCamelCase    ,     **__lowerCamelCase						)



