'''simple docstring'''


from collections import Counter
from timeit import timeit

def   A_      (       SCREAMING_SNAKE_CASE_ = "" ,	)			->bool:
  return sum(c % 2 for c in Counter(input_str.replace(""" """ ,	""""""						).lower()						).values()						) < 2

def   A_      (       SCREAMING_SNAKE_CASE_ = ""						)			->bool:
  if len(SCREAMING_SNAKE_CASE_						) == 0:
    return True
  lowercase_     =       input_str.replace(""" """ ,	""""""						).lower()
  # character_freq_dict: Stores the frequency of every character in the input string
  lowercase_     =       {}

  for character in lower_case_input_str:
    lowercase_     =       character_freq_dict.get(SCREAMING_SNAKE_CASE_ ,	0						) + 1
  lowercase_     =       0

  for character_count in character_freq_dict.values():
    if character_count % 2:
      odd_char += 1
  if odd_char > 1:
    return False
  return True

def   A_      (       SCREAMING_SNAKE_CASE_ = ""						)			->None:
  print("""\nFor string = """ ,	SCREAMING_SNAKE_CASE_ ,	""":"""						)
  print(
      """> can_string_be_rearranged_as_palindrome_counter()""" ,	"""\tans =""" ,	can_string_be_rearranged_as_palindrome_counter(SCREAMING_SNAKE_CASE_						) ,	"""\ttime =""" ,	timeit(
          """z.can_string_be_rearranged_as_palindrome_counter(z.check_str)""" ,	setup="""import __main__ as z""" ,	) ,	"""seconds""" ,	)
  print(
      """> can_string_be_rearranged_as_palindrome()""" ,	"""\tans =""" ,	can_string_be_rearranged_as_palindrome(SCREAMING_SNAKE_CASE_						) ,	"""\ttime =""" ,	timeit(
          """z.can_string_be_rearranged_as_palindrome(z.check_str)""" ,	setup="""import __main__ as z""" ,	) ,	"""seconds""" ,	)


if __name__ == "__main__":
       __snake_case						  =		input(
           """Enter string to determine if it can be rearranged as a palindrome or not: """
       ).strip()
       benchmark(check_str)
       __snake_case						  =		can_string_be_rearranged_as_palindrome_counter(check_str)
       print(f'''{check_str} can {'' if status else 'not '}be rearranged as a palindrome''')


'''simple docstring'''


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


__snake_case						  =		logging.get_logger(__name__)

__snake_case						  =		{
    """uw-madison/mra-base-512-4""": """https://huggingface.co/uw-madison/mra-base-512-4/resolve/main/config.json""",
}





class       _a    (		__a      ):


  """simple docstring"""

  A_    							=						'''mra'''




  def __init__(		self      :       Any   ,				lowercase_      :       List[str]=50_265   ,				lowercase_      :       Tuple=768   ,				lowercase_      :       Optional[Any]=12   ,				lowercase_      :       str=12   ,				lowercase_      :       Optional[int]=3_072   ,				lowercase_      :       Union[str, Any]="gelu"   ,				lowercase_      :       str=0.1   ,				lowercase_      :       Tuple=0.1   ,				lowercase_      :       str=512   ,				lowercase_      :       Optional[int]=1   ,				lowercase_      :       Tuple=0.0_2   ,				lowercase_      :       List[Any]=1e-5   ,				lowercase_      :       Optional[Any]="absolute"   ,				lowercase_      :       int=4   ,				lowercase_      :       int="full"   ,				lowercase_      :       Tuple=0   ,				lowercase_      :       str=0   ,				lowercase_      :       List[str]=1   ,				lowercase_      :       Tuple=0   ,				lowercase_      :       Optional[Any]=2   ,				**lowercase_      :       List[str]   ,				):







    '''simple docstring'''


    super().__init__(pad_token_id=lowercase_   ,				bos_token_id=lowercase_   ,				eos_token_id=lowercase_   ,				**lowercase_      )

    lowercase_     =       vocab_size
    lowercase_     =       max_position_embeddings
    lowercase_     =       hidden_size
    lowercase_     =       num_hidden_layers
    lowercase_     =       num_attention_heads
    lowercase_     =       intermediate_size
    lowercase_     =       hidden_act
    lowercase_     =       hidden_dropout_prob
    lowercase_     =       attention_probs_dropout_prob
    lowercase_     =       initializer_range
    lowercase_     =       type_vocab_size
    lowercase_     =       layer_norm_eps
    lowercase_     =       position_embedding_type
    lowercase_     =       block_per_row
    lowercase_     =       approx_mode
    lowercase_     =       initial_prior_first_n_blocks
    lowercase_     =       initial_prior_diagonal_n_blocks

