'''simple docstring'''

import math


def __a (	__lowerCamelCase			:						int ,		__lowerCamelCase			:						Dict				)	->							Dict:
      '''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(__lowerCamelCase				)
      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.
       lowerCAmelCase_ : Optional[int]						  =      "Enter the base and the power separated by a comma: "
       lowerCAmelCase_ : str						  =      map(int, input(prompt).split(","))
       lowerCAmelCase_ : Dict						  =      map(int, input(prompt).split(","))

       # We find the log of each number, using the function res(), which takes two
       # arguments.
       lowerCAmelCase_ : Optional[int]						  =      res(xa, ya)
       lowerCAmelCase_ : List[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")







'''simple docstring'''

def __a (	__lowerCamelCase			:						int = 600_851_475_143				)	->							int:
      '''simple docstring'''


      try:
            lowercase_     =      int(__lowerCamelCase				)
      except (TypeError, ValueError):
            raise TypeError("Parameter n must be int or castable to int."				)
      if n <= 0:
            raise ValueError("Parameter n must be greater than or equal to one."				)
      lowercase_     =      1
      lowercase_     =      2
      while i * i <= n:
            while n % i == 0:
                  lowercase_     =      i
                  n //= i
            i += 1
      if n > 1:
            lowercase_     =      n
      return int(__lowerCamelCase				)


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






