





def 	_A			(						SCREAMING_SNAKE_CASE	:  Union[str, Any] = 1_000		):





  """simple docstring"""



  a__      :   int      =2**power
  a__      :   Any      =str(lowerCAmelCase_		)
  a__      :   Any      =list(lowerCAmelCase_		)
  a__      :   Union[str, Any]      =0

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

  return sum_of_num


if __name__ == "__main__":
     UpperCAmelCase      :      int							=			int(input("""Enter the power of 2: """).strip())
     print("""2 ^ """, power, """ = """, 2**power)
     UpperCAmelCase      :      Any							=			solution(power)
     print("""Sum of the digits is: """, result)











'''simple docstring'''

def 	__lowerCamelCase	( )     -> Union[str, Any]:
		_a	: Optional[Any]								=				[]
		_a	: List[str]								=				1

		while len(lowerCAmelCase_    ) < 1E6:
				constant.append(str(lowerCAmelCase_    )    )
				i += 1

		_a	: Optional[Any]								=				''.join(lowerCAmelCase_    )

		return (
		    int(constant[0]    )
		    * int(constant[9]    )
		    * int(constant[99]    )
		    * int(constant[999]    )
		    * int(constant[9999]    )
		    * int(constant[99999]    )
		    * int(constant[999999]    )
		)


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




