


from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCAmelCase__   	=							logging.get_logger(__name__)

UpperCAmelCase__   	=							{
    '''alibaba-damo/mgp-str-base''': '''https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json''',
}







class       lowerCamelCase__   (       lowerCAmelCase):
     SCREAMING_SNAKE_CASE__      			=			'''mgp-str'''





     def __init__(self		,     UpperCAmelCase=[3_2, 1_2_8]		,     UpperCAmelCase=4		,     UpperCAmelCase=3		,     UpperCAmelCase=2_7		,     UpperCAmelCase=3_8		,     UpperCAmelCase=5_0_2_5_7		,     UpperCAmelCase=3_0_5_2_2		,     UpperCAmelCase=7_6_8		,     UpperCAmelCase=1_2		,     UpperCAmelCase=1_2		,     UpperCAmelCase=4.0		,     UpperCAmelCase=True		,     UpperCAmelCase=False		,     UpperCAmelCase=1e-5		,     UpperCAmelCase=0.0		,     UpperCAmelCase=0.0		,     UpperCAmelCase=0.0		,     UpperCAmelCase=False		,     UpperCAmelCase=0.02		,     **UpperCAmelCase		,     )     ->   Optional[Any]:
      super().__init__(**UpperCAmelCase       )

      _lowercase							      =image_size
      _lowercase							      =patch_size
      _lowercase							      =num_channels
      _lowercase							      =max_token_length
      _lowercase							      =num_character_labels
      _lowercase							      =num_bpe_labels
      _lowercase							      =num_wordpiece_labels
      _lowercase							      =hidden_size
      _lowercase							      =num_hidden_layers
      _lowercase							      =num_attention_heads
      _lowercase							      =mlp_ratio
      _lowercase							      =distilled
      _lowercase							      =layer_norm_eps
      _lowercase							      =drop_rate
      _lowercase							      =qkv_bias
      _lowercase							      =attn_drop_rate
      _lowercase							      =drop_path_rate
      _lowercase							      =output_aa_attentions
      _lowercase							      =initializer_range



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''')


