def     UpperCamelCase						(	__lowercase						:			int = 10_00     ):
		'''simple docstring'''




		A_		:    Optional[int]         =				1, 1
		A_		:    List[str]         =				2
		while True:
				A_		:    Dict         =				0
				A_		:    Any         =				fa + fa
				A_		:    Union[str, Any]         =				fa, f
				index += 1
				for _ in str(__lowercase     ):
						i += 1
				if i == n:
						break
		return index


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







import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


_UpperCAmelCase            =		logging.get_logger(__name__)





class UpperCAmelCase						( __A  ):


				'''simple docstring'''






				def __init__(						self		,     *lowercase		,     **lowercase ):



						"""simple docstring"""





						warnings.warn(
						    'The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
						    ' use DonutImageProcessor instead.'		,     lowercase		,     )
						super().__init__(*lowercase		,     **lowercase )






