




import math




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

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











from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCAmelCase							:       str					 =	{
    """configuration_pegasus_x""": ["""PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP""", """PegasusXConfig"""],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowerCAmelCase							:       Optional[Any]					 =	[
							    """PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """PegasusXForConditionalGeneration""",
							    """PegasusXModel""",
							    """PegasusXPreTrainedModel""",
							]


if TYPE_CHECKING:
							from .configuration_pegasus_x import PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP, PegasusXConfig

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_pegasus_x import (
														    PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST,
														    PegasusXForConditionalGeneration,
														    PegasusXModel,
														    PegasusXPreTrainedModel,
														)


else:
							import sys

							lowerCAmelCase							:       str					 =	_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)



