

'''simple docstring'''


import math

from numpy import inf
from scipy.integrate import quad




def 	_a       (				__lowerCAmelCase		:      float     )     ->   float:

		"""simple docstring"""

		if num <= 0:
				raise ValueError('''math domain error'''     )

		return quad(__lowerCAmelCase   ,							0   ,							__lowerCAmelCase   ,							args=(__lowerCAmelCase)     )[0]




def 	_a       (				__lowerCAmelCase		:      float   ,							__lowerCAmelCase		:      float     )     ->   float:

		"""simple docstring"""

		return math.pow(__lowerCAmelCase   ,							z - 1     ) * math.exp(-x     )


if __name__ == "__main__":
					from doctest import testmod

					testmod()






'''simple docstring'''


from collections.abc import Generator




def 	_a       (				):

		"""simple docstring"""

		snake_case__						,       snake_case__						:       List[Any]       						=  0, 1
		while True:
				snake_case__						,       snake_case__						:       str       						=  b, a + b
				yield b




def 	_a       (				__lowerCAmelCase		:      int = 10_00     ):

		"""simple docstring"""

		snake_case__						:       Optional[int]       						=  1
		snake_case__						:       Tuple       						=  fibonacci_generator()
		while len(str(next(__lowerCAmelCase     )     )     ) < n:
				answer += 1
		return answer + 1


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



