




"""simple docstring"""


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


A_      			=       logging.get_logger(__name__)

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






class       lowercase(  __a				):







 '''simple docstring'''





 lowercase__				      =      "mgp-str"


 def __init__(       self:	Union[str, Any],   a_:	Optional[int]=[32, 128],   a_:	Tuple=4,   a_:	Any=3,   a_:	int=27,   a_:	Union[str, Any]=38,   a_:	List[Any]=50_257,   a_:	List[Any]=30_522,   a_:	Optional[int]=768,   a_:	List[str]=12,   a_:	List[str]=12,   a_:	Optional[Any]=4.0,   a_:	List[Any]=True,   a_:	List[Any]=False,   a_:	Tuple=1E-5,   a_:	Any=0.0,   a_:	List[Any]=0.0,   a_:	List[Any]=0.0,   a_:	Optional[Any]=False,   a_:	List[Any]=0.02,   **a_:	Optional[Any],   ):




   '''simple docstring'''



   super().__init__(**__A	)

   _snake_case							:	Any			=						image_size
   _snake_case							:	Optional[int]			=						patch_size
   _snake_case							:	List[str]			=						num_channels
   _snake_case							:	List[Any]			=						max_token_length
   _snake_case							:	str			=						num_character_labels
   _snake_case							:	Dict			=						num_bpe_labels
   _snake_case							:	Optional[Any]			=						num_wordpiece_labels
   _snake_case							:	List[Any]			=						hidden_size
   _snake_case							:	Any			=						num_hidden_layers
   _snake_case							:	Any			=						num_attention_heads
   _snake_case							:	List[str]			=						mlp_ratio
   _snake_case							:	List[str]			=						distilled
   _snake_case							:	Tuple			=						layer_norm_eps
   _snake_case							:	str			=						drop_rate
   _snake_case							:	Optional[int]			=						qkv_bias
   _snake_case							:	Dict			=						attn_drop_rate
   _snake_case							:	Union[str, Any]			=						drop_path_rate
   _snake_case							:	List[Any]			=						output_aa_attentions
   _snake_case							:	Tuple			=						initializer_range












"""simple docstring"""


from __future__ import annotations

import math


def       UpperCAmelCase__ (snake_case__							:      int					):
  """simple docstring"""

  if 1 < number < 4:
    # 2 and 3 are primes
    return True
  elif number < 2 or number % 2 == 0 or number % 3 == 0:
    # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
    return False

  # All primes number are in format of 6k +/- 1
  for i in range(5	,     int(math.sqrt(snake_case__					) + 1					)	,     6					):
    if number % i == 0 or number % (i + 2) == 0:
      return False
  return True


A_      			=       [num for num in range(3, 10_00_01, 2) if not is_prime(num)]


def       UpperCAmelCase__ (snake_case__							:      int					):
  """simple docstring"""

  if not isinstance(snake_case__	,     snake_case__					):
    raise ValueError("""n must be an integer"""					)
  if n <= 0:
    raise ValueError("""n must be >= 0"""					)

  _snake_case							:	Any			=						[]
  for num in range(len(snake_case__					)					):
    _snake_case							:	Optional[int]			=						0
    while 2 * i * i <= odd_composites[num]:
      _snake_case							:	Optional[int]			=						odd_composites[num] - 2 * i * i
      if is_prime(snake_case__					):
        break
      i += 1
    else:
      list_nums.append(odd_composites[num]					)
      if len(snake_case__					) == n:
        return list_nums

  return []


def       UpperCAmelCase__ ():
  """simple docstring"""

  return compute_nums(1					)[0]


if __name__ == "__main__":
     print(F'''{solution() = }''')


