

"""simple docstring"""




def 	UpperCAmelCase__   (				A__ = 1000   )      ->      int:




   """simple docstring"""
   lowerCamelCase__						=			2**power
   lowerCamelCase__						=			str(A__   )
   lowerCamelCase__						=			list(A__   )
   lowerCamelCase__						=			0

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

   return sum_of_num


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







"""simple docstring"""




from __future__ import annotations

from typing import Any



def 	UpperCAmelCase__   (				A__   )      ->      None:




   """simple docstring"""
   create_state_space_tree(A__	,    []	,    0   )



def 	UpperCAmelCase__   (				A__	,    A__	,    A__   )      ->      None:




   """simple docstring"""

   if index == len(A__   ):
      print(A__   )
      return

   create_state_space_tree(A__	,    A__	,    index + 1   )
   current_subsequence.append(sequence[index]   )
   create_state_space_tree(A__	,    A__	,    index + 1   )
   current_subsequence.pop()


if __name__ == "__main__":
     SCREAMING_SNAKE_CASE_     :			list[Any]	  =			[3, 1, 2, 4]
     generate_all_subsequences(seq)

     seq.clear()
     seq.extend(['''A''', '''B''', '''C'''])
     generate_all_subsequences(seq)




