






"""simple docstring"""



from ..utils import DummyObject, requires_backends





class 					_UpperCAmelCase       ( metaclass=_A							):
					SCREAMING_SNAKE_CASE_		:				str							    =   ["transformers", "torch", "note_seq"]




					def __init__(				self     :						Tuple    ,						*A     :						List[str]    ,						**A     :						List[Any]   )  ->  str:
							requires_backends(self    ,						['''transformers''', '''torch''', '''note_seq''']   )




					@classmethod
					def   A  (				cls     :						Union[str, Any]    ,						*A     :						Any    ,						**A     :						Union[str, Any]   )  ->  str:
							requires_backends(cls    ,						['''transformers''', '''torch''', '''note_seq''']   )






					@classmethod
					def   A  (				cls     :						Tuple    ,						*A     :						Union[str, Any]    ,						**A     :						int   )  ->  Optional[int]:
							requires_backends(cls    ,						['''transformers''', '''torch''', '''note_seq''']   )










'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase					:					int = 10_00 ):
   lowercase_			,							lowercase_			:str    			= 1, 1
   lowercase_			:Any    			= 2
   while True:
      lowercase_			:str    			= 0
      lowercase_			:Tuple    			= fa + fa
      lowercase_			,							lowercase_			:Tuple    			= fa, f
      index += 1
      for _ in str(__lowerCamelCase ):
         i += 1
      if i == n:
         break
   return index


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


