

import numpy as np

from transformers import Pipeline


def   __SCREAMING_SNAKE_CASE					(SCREAMING_SNAKE_CASE__       ):
						snake_case_   =	np.max(SCREAMING_SNAKE_CASE__  ,		axis=-1  ,		keepdims=SCREAMING_SNAKE_CASE__       )
						snake_case_   =	np.exp(outputs - maxes       )
						return shifted_exp / shifted_exp.sum(axis=-1  ,		keepdims=SCREAMING_SNAKE_CASE__       )





class 	snake_case_   (		__A					):







			'''simple docstring'''

			def 				snake_case__(     self :				Tuple							,   **_UpperCamelCase :				Tuple							)      ->Optional[int]:
									snake_case_   =	{}
									if "second_text" in kwargs:
															snake_case_   =	kwargs['''second_text''']
									return preprocess_kwargs, {}, {}







			def 				snake_case__(     self :				int							,   _UpperCamelCase :				int							,   _UpperCamelCase :				List[Any]=None							)      ->Tuple:
									return self.tokenizer(_UpperCamelCase							,   text_pair=_UpperCamelCase							,   return_tensors=self.framework							)







			def 				snake_case__(     self :				List[str]							,   _UpperCamelCase :				int							)      ->str:
									return self.model(**_UpperCamelCase							)







			def 				snake_case__(     self :				str							,   _UpperCamelCase :				List[Any]							)      ->Tuple:
									snake_case_   =	model_outputs.logits[0].numpy()
									snake_case_   =	softmax(_UpperCamelCase							)

									snake_case_   =	np.argmax(_UpperCamelCase							)
									snake_case_   =	self.model.config.idalabel[best_class]
									snake_case_   =	probabilities[best_class].item()
									snake_case_   =	logits.tolist()
									return {"label": label, "score": score, "logits": logits}


import math


def   __SCREAMING_SNAKE_CASE					(SCREAMING_SNAKE_CASE__  ,		SCREAMING_SNAKE_CASE__       ):
						if 0 not in (x, y):
												# We use the relation x^y = y*log10(x), where 10 is the base.
												return y * math.logaa(SCREAMING_SNAKE_CASE__       )
						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_       	=	'''Enter the base and the power separated by a comma: '''
					lowerCAmelCase_	,      lowerCAmelCase_       	=	map(int, input(prompt).split(''','''))
					lowerCAmelCase_	,      lowerCAmelCase_       	=	map(int, input(prompt).split(''','''))

					# We find the log of each number, using the function res(), which takes two
					# arguments.
					lowerCAmelCase_       	=	res(xa, ya)
					lowerCAmelCase_       	=	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''')