




'''simple docstring'''



import math
def 				SCREAMING_SNAKE_CASE_				(							__A       :				int						)				->				str:
   if number == 0:
      _SCREAMING_SNAKE_CASE =   "Zero"
      return words
   else:
      _SCREAMING_SNAKE_CASE =   math.logaa(__A						)
      _SCREAMING_SNAKE_CASE =   digits + 1
      _SCREAMING_SNAKE_CASE =   {}
      _SCREAMING_SNAKE_CASE =   ""
      _SCREAMING_SNAKE_CASE =   "One"
      _SCREAMING_SNAKE_CASE =   "Two"
      _SCREAMING_SNAKE_CASE =   "Three"
      _SCREAMING_SNAKE_CASE =   "Four"
      _SCREAMING_SNAKE_CASE =   "Five"
      _SCREAMING_SNAKE_CASE =   "Six"
      _SCREAMING_SNAKE_CASE =   "Seven"
      _SCREAMING_SNAKE_CASE =   "Eight"
      _SCREAMING_SNAKE_CASE =   "Nine"

      _SCREAMING_SNAKE_CASE =   {}
      _SCREAMING_SNAKE_CASE =   ""
      _SCREAMING_SNAKE_CASE =   "Twenty"
      _SCREAMING_SNAKE_CASE =   "Thirty"
      _SCREAMING_SNAKE_CASE =   "Forty"
      _SCREAMING_SNAKE_CASE =   "Fifty"
      _SCREAMING_SNAKE_CASE =   "Sixty"
      _SCREAMING_SNAKE_CASE =   "Seventy"
      _SCREAMING_SNAKE_CASE =   "Eighty"
      _SCREAMING_SNAKE_CASE =   "Ninety"

      _SCREAMING_SNAKE_CASE =   {}
      _SCREAMING_SNAKE_CASE =   "Ten"
      _SCREAMING_SNAKE_CASE =   "Eleven"
      _SCREAMING_SNAKE_CASE =   "Twelve"
      _SCREAMING_SNAKE_CASE =   "Thirteen"
      _SCREAMING_SNAKE_CASE =   "Fourteen"
      _SCREAMING_SNAKE_CASE =   "Fifteen"
      _SCREAMING_SNAKE_CASE =   "Sixteen"
      _SCREAMING_SNAKE_CASE =   "Seventeen"
      _SCREAMING_SNAKE_CASE =   "Eighteen"
      _SCREAMING_SNAKE_CASE =   "Nineteen"

      _SCREAMING_SNAKE_CASE =   {}
      _SCREAMING_SNAKE_CASE =   "Hundred,"
      _SCREAMING_SNAKE_CASE =   "Thousand,"
      _SCREAMING_SNAKE_CASE =   "Lakh,"
      _SCREAMING_SNAKE_CASE =   "Crore,"

      _SCREAMING_SNAKE_CASE =   number
      _SCREAMING_SNAKE_CASE =   ""
      _SCREAMING_SNAKE_CASE =   0
      _SCREAMING_SNAKE_CASE =   int(__A						)
      while counter < digits:
         _SCREAMING_SNAKE_CASE =   temp_num % 10
         if counter % 2 == 0:
            _SCREAMING_SNAKE_CASE =   ""
            if counter in placevalue and current != 0:
               _SCREAMING_SNAKE_CASE =   placevalue[counter]
            if counter == 2:
               _SCREAMING_SNAKE_CASE =   singles[current] + addition + words
            elif counter == 0:
               if ((temp_num % 1_00) // 10) == 1:
                  _SCREAMING_SNAKE_CASE =   teens[current] + addition + words
                  _SCREAMING_SNAKE_CASE =   temp_num // 10
                  counter += 1
               else:
                  _SCREAMING_SNAKE_CASE =   singles[current] + addition + words

            else:
               _SCREAMING_SNAKE_CASE =   doubles[current] + addition + words

         else:
            if counter == 1:
               if current == 1:
                  _SCREAMING_SNAKE_CASE =   teens[number % 10] + words
               else:
                  _SCREAMING_SNAKE_CASE =   ""
                  if counter in placevalue:
                     _SCREAMING_SNAKE_CASE =   placevalue[counter]
                  _SCREAMING_SNAKE_CASE =   doubles[current] + addition + words
            else:
               _SCREAMING_SNAKE_CASE =   ""
               if counter in placevalue:
                  if current == 0 and ((temp_num % 1_00) // 10) == 0:
                     _SCREAMING_SNAKE_CASE =   ""
                  else:
                     _SCREAMING_SNAKE_CASE =   placevalue[counter]
               if ((temp_num % 1_00) // 10) == 1:
                  _SCREAMING_SNAKE_CASE =   teens[current] + addition + words
                  _SCREAMING_SNAKE_CASE =   temp_num // 10
                  counter += 1
               else:
                  _SCREAMING_SNAKE_CASE =   singles[current] + addition + words
         counter += 1
         _SCREAMING_SNAKE_CASE =   temp_num // 10
   return words


if __name__ == "__main__":
 import doctest

 doctest.testmod()







'''simple docstring'''



def 				SCREAMING_SNAKE_CASE_				(							__A       :				List[Any] ,  __A       :				Dict						)				->				Union[str, Any]:
   if n == 0:
      return 1

   elif n % 2 == 1:
      return binary_exponentiation(__A ,  n - 1						) * a

   else:
      _SCREAMING_SNAKE_CASE =   binary_exponentiation(__A ,  n / 2						)
      return b * b


if __name__ == "__main__":
 try:
  lowerCamelCase_	 =		int(input('Enter Base : ').strip())
  lowerCamelCase_	 =		int(input('Enter Power : ').strip())
 except ValueError:
  print('Invalid literal for integer')

 lowerCamelCase_	 =		binary_exponentiation(BASE, POWER)
 print(f'''{BASE}^({POWER}) : {RESULT}''')

