
"""simple docstring"""
import os





def  _lowerCAmelCase     (  )	->     Optional[Any]:
  _SCREAMING_SNAKE_CASE :					Optional[int]				     =			os.path.join(os.path.dirname(snake_case__					),    "num.txt"					)
  with open(snake_case__					) as file_hand:
    return str(sum(int(snake_case__					) for line in file_hand					)					)[:1_0]


if __name__ == "__main__":
      print(solution())









"""simple docstring"""




def        a__					(							snake_case__ = 10_00							)		->   int:
			lowerCamelCase ,  lowerCamelCase      =   1, 1
			lowerCamelCase      =   2
			while True:
						lowerCamelCase      =   0
						lowerCamelCase      =   fa + fa
						lowerCamelCase ,  lowerCamelCase      =   fa, f
						index += 1
						for _ in str(snake_case__							):
									i += 1
						if i == n:
									break
			return index


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



