



'''simple docstring'''






def    lowerCamelCase__ (		_A = 1000       ):
  a		:      str       =  2**power
  a		:      Optional[Any]       =  str(_A       )
  a		:      List[Any]       =  list(_A       )
  a		:      Optional[Any]       =  0

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

  return sum_of_num


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




'''simple docstring'''






class 							a__:







    def __init__(   self				:						Dict		,    __snake_case				:						Optional[int]		,    __snake_case				:						Any		,    __snake_case				:						Tuple			):
      a		:      List[str]       =  name
      a		:      Dict       =  value
      a		:      List[str]       =  weight







    def __repr__(   self				:						int			):
      return F"""{self.__class__.__name__}({self.name}, {self.value}, {self.weight})"""







    def     lowercase_ (   self				:						Optional[int]			):
      return self.value







    def     lowercase_ (   self				:						List[str]			):
      return self.name







    def     lowercase_ (   self				:						int			):
      return self.weight







    def     lowercase_ (   self				:						List[str]			):
      return self.value / self.weight
def    lowerCamelCase__ (		_A				,    _A				,    _A       ):
  a		:      Optional[int]       =  []
  for i in range(len(_A       )       ):
    menu.append(Things(name[i]				,    value[i]				,    weight[i]       )       )
  return menu
def    lowerCamelCase__ (		_A				,    _A				,    _A       ):
  a		:      Optional[Any]       =  sorted(_A				,    key=_A				,    reverse=_A       )
  a		:      Optional[int]       =  []
  a     ,			a		:      str       =  0.0, 0.0
  for i in range(len(_A       )       ):
    if (total_cost + items_copy[i].get_weight()) <= max_cost:
      result.append(items_copy[i]       )
      total_cost += items_copy[i].get_weight()
      total_value += items_copy[i].get_value()
  return (result, total_value)
def    lowerCamelCase__ (		):
  pass


if __name__ == "__main__":
     import doctest

     doctest.testmod()