
import json
from typing import List, Optional, Tuple

from tokenizers import normalizers

from ...tokenization_utils_fast import PreTrainedTokenizerFast
from ...utils import logging
from .tokenization_mobilebert import MobileBertTokenizer


__A				=logging.get_logger(__name__)

__A				={'''vocab_file''': '''vocab.txt''', '''tokenizer_file''': '''tokenizer.json'''}

__A				={
    '''vocab_file''': {'''mobilebert-uncased''': '''https://huggingface.co/google/mobilebert-uncased/resolve/main/vocab.txt'''},
    '''tokenizer_file''': {
        '''mobilebert-uncased''': '''https://huggingface.co/google/mobilebert-uncased/resolve/main/tokenizer.json'''
    },
}

__A				={'''mobilebert-uncased''': 5_1_2}


__A				={}




class     _SCREAMING_SNAKE_CASE     (      snake_case_						):
	lowerCAmelCase__         = VOCAB_FILES_NAMES
	lowerCAmelCase__         = PRETRAINED_VOCAB_FILES_MAP
	lowerCAmelCase__         = PRETRAINED_INIT_CONFIGURATION
	lowerCAmelCase__         = PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES
	lowerCAmelCase__         = MobileBertTokenizer



	def __init__(    self						,  lowercase=None						,  lowercase=None						,  lowercase=True						,  lowercase="[UNK]"						,  lowercase="[SEP]"						,  lowercase="[PAD]"						,  lowercase="[CLS]"						,  lowercase="[MASK]"						,  lowercase=True						,  lowercase=None						,  **lowercase						,  )				->       Union[str, Any]:
					super().__init__(
					    lowercase						,  tokenizer_file=lowercase						,  do_lower_case=lowercase						,  unk_token=lowercase						,  sep_token=lowercase						,  pad_token=lowercase						,  cls_token=lowercase						,  mask_token=lowercase						,  tokenize_chinese_chars=lowercase						,  strip_accents=lowercase						,  **lowercase						,  )

					lowerCamelCase_						=			json.loads(self.backend_tokenizer.normalizer.__getstate__() )
					if (
					    normalizer_state.get("lowercase"						,  lowercase ) != do_lower_case
					    or normalizer_state.get("strip_accents"						,  lowercase ) != strip_accents
					    or normalizer_state.get("handle_chinese_chars"						,  lowercase ) != tokenize_chinese_chars
					):
									lowerCamelCase_						=			getattr(lowercase						,  normalizer_state.pop("type" ) )
									lowerCamelCase_						=			do_lower_case
									lowerCamelCase_						=			strip_accents
									lowerCamelCase_						=			tokenize_chinese_chars
									lowerCamelCase_						=			normalizer_class(**lowercase )

					lowerCamelCase_						=			do_lower_case



	def     SCREAMING_SNAKE_CASE_(    self						,  lowercase						,  lowercase=None )				->       str:
					lowerCamelCase_						=			[self.cls_token_id] + token_ids_a + [self.sep_token_id]

					if token_ids_a:
									output += token_ids_a + [self.sep_token_id]

					return output



	def     SCREAMING_SNAKE_CASE_(    self						,  lowercase						,  lowercase = None )				->       List[int]:
					lowerCamelCase_						=			[self.sep_token_id]
					lowerCamelCase_						=			[self.cls_token_id]
					if token_ids_a is None:
									return len(cls + token_ids_a + sep ) * [0]
					return len(cls + token_ids_a + sep ) * [0] + len(token_ids_a + sep ) * [1]



	def     SCREAMING_SNAKE_CASE_(    self						,  lowercase						,  lowercase = None )				->       Tuple[str]:
					lowerCamelCase_						=			self._tokenizer.model.save(lowercase						,  name=lowercase )
					return tuple(lowercase )




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.
			__A				='''Enter the base and the power separated by a comma: '''
			__A,						__A				=map(int, input(prompt).split(''','''))
			__A,						__A				=map(int, input(prompt).split(''','''))

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


