


def 	SCREAMING_SNAKE_CASE_						(      __A			:      int    )     ->		bool:

       """simple docstring"""

       a_ :		Tuple							=  (1 + 24 * n) ** 0.5
       return ((1 + root) / 6) % 1 == 0







def 	SCREAMING_SNAKE_CASE_						(      __A			:      int = 50_00    )     ->		int:

       """simple docstring"""

       a_ :		Optional[int]							=  [(i * (3 * i - 1)) // 2 for i in range(1  ,   __A    )]
       for i, pentagonal_i in enumerate(__A    ):
              for j in range(__A  ,   len(__A    )    ):
                     a_ :		Optional[Any]							=  pentagonal_nums[j]
                     a_ :		List[str]							=  pentagonal_i + pentagonal_j
                     a_ :		Dict							=  pentagonal_j - pentagonal_i
                     if is_pentagonal(__A    ) and is_pentagonal(__A    ):
                            return b

       return -1


if __name__ == "__main__":
   print(F'{solution() = }')






def 	SCREAMING_SNAKE_CASE_						(      __A			:      int    )     ->		int:

       """simple docstring"""

       if n == 1 or not isinstance(__A  ,   __A    ):
              return 0
       elif n == 2:
              return 1
       else:
              a_ :		int							=  [0, 1]
              for i in range(2  ,   n + 1    ):
                     sequence.append(sequence[i - 1] + sequence[i - 2]    )

              return sequence[n]







def 	SCREAMING_SNAKE_CASE_						(      __A			:      int    )     ->		int:

       """simple docstring"""

       a_ :		Any							=  0
       a_ :		Optional[Any]							=  2

       while digits < n:
              index += 1
              a_ :		List[Any]							=  len(str(fibonacci(__A    )    )    )

       return index







def 	SCREAMING_SNAKE_CASE_						(      __A			:      int = 10_00    )     ->		int:

       """simple docstring"""

       return fibonacci_digits_index(__A    )


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


