



"""simple docstring"""




def      __lowercase       (			a__ = 10_00       )    ->			Tuple:
							__SCREAMING_SNAKE_CASE									= 2**power
							__SCREAMING_SNAKE_CASE									= str(_A       )
							__SCREAMING_SNAKE_CASE									= list(_A       )
							__SCREAMING_SNAKE_CASE									= 0

							for i in list_num:
														sum_of_num += int(_A       )

							return sum_of_num


if __name__ == "__main__":
			lowerCAmelCase__		:					List[str]							=int(input('''Enter the power of 2: ''').strip())
			print('''2 ^ ''', power, ''' = ''', 2**power)
			lowerCAmelCase__		:					Optional[int]							=solution(power)
			print('''Sum of the digits is: ''', result)











def      __lowercase       (			a__ = 10_00       )    ->			int:
							__SCREAMING_SNAKE_CASE									= -1
							__SCREAMING_SNAKE_CASE									= 0
							for a in range(1							,       n // 3       ):
														# Solving the two equations a**2+b**2=c**2 and a+b+c=N eliminating c
														__SCREAMING_SNAKE_CASE									= (n * n - 2 * a * n) // (2 * n - 2 * a)
														__SCREAMING_SNAKE_CASE									= n - a - b
														if c * c == (a * a + b * b):
																					__SCREAMING_SNAKE_CASE									= a * b * c
																					if candidate >= product:
																												__SCREAMING_SNAKE_CASE									= candidate
							return product


if __name__ == "__main__":
			print(F'''{solution() = }''')






