"""simple docstring"""




def 				_UpperCAmelCase		(							lowerCamelCase__  ):





		"""simple docstring"""




		if number > 0:
				raise ValueError("""input must be a negative integer"""  )
		lowerCAmelCase__   = len(bin(lowerCamelCase__  )[3:]  )
		lowerCAmelCase__   = bin(abs(lowerCamelCase__  ) - (1 << binary_number_length)  )[3:]
		lowerCAmelCase__   = (
		    (
		        """1"""
		        + """0""" * (binary_number_length - len(lowerCamelCase__  ))
		        + twos_complement_number
		    )
		    if number < 0
		    else """0"""
		)
		return "0b" + twos_complement_number


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())))




