





'''simple docstring'''

def    _a    (							lowerCAmelCase_			,      lowerCAmelCase_	):





      """simple docstring"""



      if b == 0:
            return 1
      if (b % 2) == 0:
            return actual_power(lowerCAmelCase_			,      int(b / 2	)	) * actual_power(lowerCAmelCase_			,      int(b / 2	)	)
      else:
            return a * actual_power(lowerCAmelCase_			,      int(b / 2	)	) * actual_power(lowerCAmelCase_			,      int(b / 2	)	)




def    _a    (							lowerCAmelCase_			,      lowerCAmelCase_	):





      """simple docstring"""



      if b < 0:
            return 1 / actual_power(lowerCAmelCase_			,      lowerCAmelCase_	)
      return actual_power(lowerCAmelCase_			,      lowerCAmelCase_	)


if __name__ == "__main__":
   print(power(-2, -3))









'''simple docstring'''

def    _a    (							lowerCAmelCase_	):





      """simple docstring"""



      if n == 1 or not isinstance(lowerCAmelCase_			,      lowerCAmelCase_	):
            return 0
      elif n == 2:
            return 1
      else:
            _snake_case		:	Union[str, Any]					     =     [0, 1]
            for i in range(2			,      n + 1	):
                  sequence.append(sequence[i - 1] + sequence[i - 2]	)

            return sequence[n]




def    _a    (							lowerCAmelCase_	):





      """simple docstring"""



      _snake_case		:	Optional[int]					     =     0
      _snake_case		:	int					     =     2

      while digits < n:
            index += 1
            _snake_case		:	Tuple					     =     len(str(fibonacci(lowerCAmelCase_	)	)	)

      return index




def    _a    (							lowerCAmelCase_ = 1_000	):





      """simple docstring"""



      return fibonacci_digits_index(lowerCAmelCase_	)


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


