





"""simple docstring"""


def 				a__      (	_UpperCAmelCase = 1_0_0						,  _UpperCAmelCase = 1_0_0						)     ->	int:

 '''simple docstring'''






 return max(
     sum(int(_UpperCAmelCase						) for x in str(base**power						)						)
     for base in range(_UpperCAmelCase						)
     for power in range(_UpperCAmelCase						)						)


# Tests
if __name__ == "__main__":
   import doctest

   doctest.testmod()








"""simple docstring"""


def 				a__      (	_UpperCAmelCase						)     ->	int:

 '''simple docstring'''






 snake_case__     				=					0
 for plain_chr in plain_text:
  snake_case__     				=					(
      ord(_UpperCAmelCase						) + (hash_value << 6) + (hash_value << 1_6) - hash_value
  )
 return hash_value

