
def     A__   (  lowerCamelCase = 10_00  )					->		int:
				UpperCamelCase_,				UpperCamelCase_:							List[str]		=  1, 1
				UpperCamelCase_:							int		=  2
				while True:
								UpperCamelCase_:							Optional[int]		=  0
								UpperCamelCase_:							Dict		=  fa + fa
								UpperCamelCase_,				UpperCamelCase_:							Optional[Any]		=  fa, f
								index += 1
								for _ in str(lowerCamelCase  ):
												i += 1
								if i == n:
												break
				return index


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








def     A__   (  lowerCamelCase       ,      lowerCamelCase  )					->		float:
				if mass < 0:
								raise ValueError("""The mass of a body cannot be negative"""  )
				return 0.5 * mass * abs(lowerCamelCase  ) * abs(lowerCamelCase  )


if __name__ == "__main__":
							import doctest

							doctest.testmod(verbose=True)






