"""simple docstring"""




from __future__ import annotations

__lowerCAmelCase     :				Tuple    				=    8.9_8_8e9  # units = N * m^s * C^-2







def 				_UpperCAmelCase		(							lowerCamelCase__      ,	lowerCamelCase__      ,	lowerCamelCase__      ,	lowerCamelCase__  ):





		"""simple docstring"""




		lowerCAmelCase__   = abs(chargea * chargea  )

		if (force, chargea, chargea, distance).count(0  ) != 1:
				raise ValueError("""One and only one argument must be 0"""  )
		if distance < 0:
				raise ValueError("""Distance cannot be negative"""  )
		if force == 0:
				lowerCAmelCase__   = COULOMBS_CONSTANT * charge_product / (distance**2)
				return {"force": force}
		elif chargea == 0:
				lowerCAmelCase__   = abs(lowerCamelCase__  ) * (distance**2) / (COULOMBS_CONSTANT * chargea)
				return {"charge1": chargea}
		elif chargea == 0:
				lowerCAmelCase__   = abs(lowerCamelCase__  ) * (distance**2) / (COULOMBS_CONSTANT * chargea)
				return {"charge2": chargea}
		elif distance == 0:
				lowerCAmelCase__   = (COULOMBS_CONSTANT * charge_product / abs(lowerCamelCase__  )) ** 0.5
				return {"distance": distance}
		raise ValueError("""Exactly one argument must be 0"""  )


if __name__ == "__main__":
			import doctest

			doctest.testmod()





"""simple docstring"""




from collections.abc import Generator







def 				_UpperCAmelCase		(							):





		"""simple docstring"""




		lowerCAmelCase__ ,       lowerCAmelCase__   = 0, 1
		while True:
				lowerCAmelCase__ ,       lowerCAmelCase__   = b, a + b
				yield b







def 				_UpperCAmelCase		(							lowerCamelCase__ = 1000  ):





		"""simple docstring"""




		lowerCAmelCase__   = 1
		lowerCAmelCase__   = fibonacci_generator()
		while len(str(next(lowerCamelCase__  )  )  ) < n:
				answer += 1
		return answer + 1


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




