


'''simple docstring'''
def 					a__       (					lowerCAmelCase__ = 10_00						)    ->	int:
    UpperCAmelCase__			:		str													=				2**power
    UpperCAmelCase__			:		str													=				str(lowerCAmelCase__						)
    UpperCAmelCase__			:		Optional[Any]													=				list(lowerCAmelCase__						)
    UpperCAmelCase__			:		Dict													=				0

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

    return sum_of_num


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




'''simple docstring'''
def 					a__       (					lowerCAmelCase__						)    ->	int:
    UpperCAmelCase__			:		Tuple													=				0
    while num > 0:
        digit_sum += num % 10
        num //= 10
    return digit_sum





def 					a__       (					lowerCAmelCase__ = 1_00						)    ->	int:
    UpperCAmelCase__			:		Dict													=				1
    UpperCAmelCase__			:		str													=				2

    for i in range(2  ,					max_n + 1						):
        UpperCAmelCase__			:		Tuple													=				pre_numerator
        UpperCAmelCase__			:		Tuple													=				2 * i // 3 if i % 3 == 0 else 1
        UpperCAmelCase__			:		str													=				cur_numerator
        UpperCAmelCase__			:		List[str]													=				e_cont * pre_numerator + temp

    return sum_digits(lowerCAmelCase__						)


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