


import math







def  SCREAMING_SNAKE_CASE_		(    __A				:    Dict						,					__A				:    List[Any]       )			->	Optional[int]:

       """simple docstring"""

       if 0 not in (x, y):
              # We use the relation x^y = y*log10(x), where 10 is the base.
              return y * math.logaa(lowercase_       )
       else:
              if x == 0:  # 0 raised to any number is 0
                     return 0
              elif y == 0:
                     return 1  # any number raised to 0 is 1
       raise AssertionError('This should never happen'       )


if __name__ == "__main__":  # Main function
   # Read two numbers from input and typecast them to int using map function.
   # Here x is the base and y is the power.
   UpperCAmelCase_   :				Optional[int]						      = 'Enter the base and the power separated by a comma: '
   UpperCAmelCase_   :				Dict						      = map(int, input(prompt).split(','))
   UpperCAmelCase_   :				Optional[Any]						      = map(int, input(prompt).split(','))

   # We find the log of each number, using the function res(), which takes two
   # arguments.
   UpperCAmelCase_   :				Any						      = res(xa, ya)
   UpperCAmelCase_   :				str						      = res(xa, ya)

   # We check for the largest number
   if resa > resa:
      print('Largest number is', xa, '^', ya)
   elif resa > resa:
      print('Largest number is', xa, '^', ya)
   else:
      print('Both are equal')






import random
class 				SCREAMING_SNAKE_CASE__						:
      @staticmethod
      def  SCREAMING_SNAKE_CASE							( SCREAMING_SNAKE_CASE__       : str  )	->    tuple[list[int], list[int]]:
             a_      :	int							=						[ord(SCREAMING_SNAKE_CASE__  ) for i in text]
             a_      :	Any							=						[]
             a_      :	Optional[int]							=						[]
             for i in plain:
                    a_      :	Tuple							=						random.randint(1  ,							3_0_0  )
                    a_      :	Optional[int]							=						(i + k) * k
                    cipher.append(SCREAMING_SNAKE_CASE__  )
                    key.append(SCREAMING_SNAKE_CASE__  )
             return cipher, key

      @staticmethod
      def  SCREAMING_SNAKE_CASE							( SCREAMING_SNAKE_CASE__       : list[int]  ,							SCREAMING_SNAKE_CASE__       : list[int]  )	->    str:
             a_      :	List[Any]							=						[]
             for i in range(len(SCREAMING_SNAKE_CASE__  )  ):
                    a_      :	str							=						int((cipher[i] - (key[i]) ** 2) / key[i]  )
                    plain.append(chr(SCREAMING_SNAKE_CASE__  )  )
             return "".join(SCREAMING_SNAKE_CASE__  )


if __name__ == "__main__":
   UpperCAmelCase_      ,     UpperCAmelCase_   :				Any						      = Onepad().encrypt('Hello')
   print(c, k)
   print(Onepad().decrypt(c, k))


