



"""simple docstring"""







def      __UpperCAmelCase      (    __lowerCamelCase						,     __lowerCamelCase						,     __lowerCamelCase	)							->      int:

		if exponent == 1:
				return base
		if exponent % 2 == 0:
				lowercase__   :    List[str]				=			_modexpt(__lowerCamelCase						,     exponent // 2						,     __lowerCamelCase	) % modulo_value
				return (x * x) % modulo_value
		else:
				return (base * _modexpt(__lowerCamelCase						,     exponent - 1						,     __lowerCamelCase	)) % modulo_value



def      __UpperCAmelCase      (    __lowerCamelCase = 17_77						,     __lowerCamelCase = 18_55						,     __lowerCamelCase = 8	)							->      int:
		lowercase__   :    Tuple				=			base
		for _ in range(1						,     __lowerCamelCase	):
				lowercase__   :    List[str]				=			_modexpt(__lowerCamelCase						,     __lowerCamelCase						,     10**digits	)

		return result


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



def    __UpperCAmelCase (	__a      :			str	)			->     int:

					"""simple docstring"""

					assert column_title.isupper()
					_a	:    Optional[Any]         =		0
					_a	:    List[Any]         =		len(__a	) - 1
					_a	:    List[str]         =		0

					while index >= 0:
										_a	:    Dict         =		(ord(column_title[index]	) - 64) * pow(26		,__a	)
										answer += value
										power += 1
										index -= 1

					return answer


if __name__ == "__main__":
			from doctest import testmod

			testmod()



