






"""simple docstring"""





import math



def   a    (     __UpperCAmelCase      :    Union[str, Any]      ,   __UpperCAmelCase      :    Any  )    ->							int:
						if 0 not in (x, y):
												# We use the relation x^y = y*log10(x), where 10 is the base.
												return y * math.logaa(__UpperCAmelCase  )
						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')











"""simple docstring"""





import json
import os
import unittest

from transformers import OpenAIGPTTokenizer, OpenAIGPTTokenizerFast
from transformers.models.openai.tokenization_openai import VOCAB_FILES_NAMES
from transformers.testing_utils import require_ftfy, require_spacy, require_tokenizers

from ...test_tokenization_common import TokenizerTesterMixin



@require_tokenizers
class       __A		(   SCREAMING_SNAKE_CASE_     ,unittest.TestCase			):
					UpperCAmelCase__								=				OpenAIGPTTokenizer
					UpperCAmelCase__								=				OpenAIGPTTokenizerFast
					UpperCAmelCase__								=				True
					UpperCAmelCase__								=				False

					def   lowerCamelCase__   (			self  :      Dict					)			->							Optional[Any]:
											super().setUp()

											# Adapted from Sennrich et al. 2015 and https://github.com/rsennrich/subword-nmt
											__magic_name__:	str							=       [
											    """l""",
											    """o""",
											    """w""",
											    """e""",
											    """r""",
											    """s""",
											    """t""",
											    """i""",
											    """d""",
											    """n""",
											    """w</w>""",
											    """r</w>""",
											    """t</w>""",
											    """lo""",
											    """low""",
											    """er</w>""",
											    """low</w>""",
											    """lowest</w>""",
											    """newer</w>""",
											    """wider</w>""",
											    """<unk>""",
											]
											__magic_name__:	Any							=       dict(zip(__snake_case     ,		range(len(__snake_case					)					)					)					)
											__magic_name__:	List[str]							=       ["""#version: 0.2""", """l o""", """lo w""", """e r</w>""", """"""]

											__magic_name__:	Optional[Any]							=       os.path.join(self.tmpdirname     ,		VOCAB_FILES_NAMES["""vocab_file"""]					)
											__magic_name__:	Any							=       os.path.join(self.tmpdirname     ,		VOCAB_FILES_NAMES["""merges_file"""]					)
											with open(self.vocab_file     ,		"""w"""					) as fp:
																	fp.write(json.dumps(__snake_case					)					)
											with open(self.merges_file     ,		"""w"""					) as fp:
																	fp.write("""\n""".join(__snake_case					)					)

					def   lowerCamelCase__   (			self  :      List[Any]     ,		__snake_case  :      Optional[Any]					)			->							Optional[int]:
											return "lower newer", "lower newer"

					def   lowerCamelCase__   (			self  :      List[Any]					)			->							Union[str, Any]:
											__magic_name__:	Optional[Any]							=       OpenAIGPTTokenizer(self.vocab_file     ,		self.merges_file					)

											__magic_name__:	Union[str, Any]							=       """lower"""
											__magic_name__:	Optional[int]							=       ["""low""", """er</w>"""]
											__magic_name__:	List[Any]							=       tokenizer.tokenize(__snake_case					)
											self.assertListEqual(__snake_case     ,		__snake_case					)

											__magic_name__:	Optional[int]							=       tokens + ["""<unk>"""]
											__magic_name__:	List[str]							=       [1_4, 1_5, 2_0]
											self.assertListEqual(tokenizer.convert_tokens_to_ids(__snake_case					)     ,		__snake_case					)

					def   lowerCamelCase__   (			self  :      Optional[Any]     ,		__snake_case  :      Any=1_5					)			->							Tuple:
											for tokenizer, pretrained_name, kwargs in self.tokenizers_list:
																	with self.subTest(F'{tokenizer.__class__.__name__} ({pretrained_name})'					):
																							__magic_name__:	str							=       self.rust_tokenizer_class.from_pretrained(__snake_case     ,		**__snake_case					)

																							# Simple input
																							__magic_name__:	Dict							=       """This is a simple input"""
																							__magic_name__:	Any							=       ["""This is a simple input 1""", """This is a simple input 2"""]
																							__magic_name__:	int							=       ("""This is a simple input""", """This is a pair""")
																							__magic_name__:	int							=       [
																							    ("""This is a simple input 1""", """This is a simple input 2"""),
																							    ("""This is a simple pair 1""", """This is a simple pair 2"""),
																							]

																							# Simple input tests
																							self.assertRaises(__snake_case     ,		tokenizer_r.encode     ,		__snake_case     ,		max_length=__snake_case     ,		padding="""max_length"""					)

																							# Simple input
																							self.assertRaises(__snake_case     ,		tokenizer_r.encode_plus     ,		__snake_case     ,		max_length=__snake_case     ,		padding="""max_length"""					)

																							# Simple input
																							self.assertRaises(
																							    __snake_case     ,		tokenizer_r.batch_encode_plus     ,		__snake_case     ,		max_length=__snake_case     ,		padding="""max_length"""     ,		)

																							# Pair input
																							self.assertRaises(__snake_case     ,		tokenizer_r.encode     ,		__snake_case     ,		max_length=__snake_case     ,		padding="""max_length"""					)

																							# Pair input
																							self.assertRaises(__snake_case     ,		tokenizer_r.encode_plus     ,		__snake_case     ,		max_length=__snake_case     ,		padding="""max_length"""					)

																							# Pair input
																							self.assertRaises(
																							    __snake_case     ,		tokenizer_r.batch_encode_plus     ,		__snake_case     ,		max_length=__snake_case     ,		padding="""max_length"""     ,		)






					def   lowerCamelCase__   (			self  :      Dict					)			->							Any:
											pass



@require_ftfy
@require_spacy
@require_tokenizers
class       __A		(   SCREAMING_SNAKE_CASE_			):
					pass



