


"""simple docstring"""







def    UpperCAmelCase__       (lowerCAmelCase_ = 1000   ):




					'''simple docstring'''


					__SCREAMING_SNAKE_CASE						   =				2**power
					__SCREAMING_SNAKE_CASE						   =				0
					while n:
										__SCREAMING_SNAKE_CASE   ,  __SCREAMING_SNAKE_CASE						   =				r + n % 10, n // 10
					return r


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




"""simple docstring"""







from abc import ABC, abstractmethod
from argparse import ArgumentParser




class  UpperCamelCase_	( UpperCamelCase):

	"""simple docstring"""





	@staticmethod
	@abstractmethod
	def   UpperCAmelCase_      ( UpperCAmelCase__			:				ArgumentParser   )       ->	int:
						raise NotImplementedError()




	@abstractmethod
	def   UpperCAmelCase_      ( self			:				int   )       ->	Optional[int]:
						raise NotImplementedError()
