
def 			UpperCamelCase					(    __lowerCamelCase     : int = 1000    ):
       snake_case       :   List[Any]							=      2**power
       snake_case       :   Any							=      0
       while n:
              snake_case				,					snake_case       :   Tuple							=      r + n % 10, n // 10
       return r


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






import math
def       A	(    _lowercase						):
						return math.sqrt(_lowercase						) * math.sqrt(_lowercase						) == num
def       A	(    _lowercase						):
						SCREAMING_SNAKE_CASE							:    Dict							=							0
						SCREAMING_SNAKE_CASE							:    Tuple							=							n
						while left <= right:
												SCREAMING_SNAKE_CASE							:    Union[str, Any]							=							(left + right) // 2
												if mid**2 == n:
																		return True
												elif mid**2 > n:
																		SCREAMING_SNAKE_CASE							:    Optional[Any]							=							mid - 1
												else:
																		SCREAMING_SNAKE_CASE							:    Optional[int]							=							mid + 1
						return False


if __name__ == "__main__":
					import doctest

					doctest.testmod()





