





"""simple docstring"""




from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


UpperCAmelCase     :     int							=	{
    'susnato/ernie-m-base_pytorch': 'https://huggingface.co/susnato/ernie-m-base_pytorch/blob/main/config.json',
    'susnato/ernie-m-large_pytorch': 'https://huggingface.co/susnato/ernie-m-large_pytorch/blob/main/config.json',
}







class     __lowerCAmelCase	(   _UpperCamelCase):
      _lowercase    : Dict            =      'ernie_m'
      _lowercase    : Dict[str, str]            =      {"dropout": "classifier_dropout", "num_classes": "num_labels"}







      def __init__(   self		,				lowerCAmelCase__ = 2_5_0_0_0_2		,				lowerCAmelCase__ = 7_6_8		,				lowerCAmelCase__ = 1_2		,				lowerCAmelCase__ = 1_2		,				lowerCAmelCase__ = 3_0_7_2		,				lowerCAmelCase__ = "gelu"		,				lowerCAmelCase__ = 0.1		,				lowerCAmelCase__ = 0.1		,				lowerCAmelCase__ = 5_1_4		,				lowerCAmelCase__ = 0.02		,				lowerCAmelCase__ = 1		,				lowerCAmelCase__ = 1E-05		,				lowerCAmelCase__=None		,				lowerCAmelCase__=False		,				lowerCAmelCase__=0.0		,				**lowerCAmelCase__		,				)       ->						Union[str, Any]:



        '''simple docstring'''




        super().__init__(pad_token_id=_SCREAMING_SNAKE_CASE		,				**_SCREAMING_SNAKE_CASE							)
        a__     : List[str]  =vocab_size
        a__     : List[str]  =hidden_size
        a__     : List[Any]  =num_hidden_layers
        a__     : Tuple  =num_attention_heads
        a__     : Union[str, Any]  =intermediate_size
        a__     : Any  =hidden_act
        a__     : Any  =hidden_dropout_prob
        a__     : int  =attention_probs_dropout_prob
        a__     : str  =max_position_embeddings
        a__     : Any  =initializer_range
        a__     : Union[str, Any]  =layer_norm_eps
        a__     : Union[str, Any]  =classifier_dropout
        a__     : List[Any]  =is_decoder
        a__     : int  =act_dropout













from __future__ import annotations

import math
def 					_A	(		SCREAMING_SNAKE_CASE					:       int						):





  """simple docstring"""



  if num <= 0:
    a__     : List[str]  =f'''{num}: Invalid input, please enter a positive integer.'''
    raise ValueError(SCREAMING_SNAKE_CASE						)

  a__     : Union[str, Any]  =[True] * (num + 1)
  a__     : Union[str, Any]  =[]
  a__     : str  =2
  a__     : Any  =int(math.sqrt(SCREAMING_SNAKE_CASE						)						)

  while start <= end:
    # If start is a prime
    if sieve[start] is True:
      prime.append(SCREAMING_SNAKE_CASE						)

      # Set multiples of start be False
      for i in range(start * start	,	num + 1	,	SCREAMING_SNAKE_CASE						):
        if sieve[i] is True:
          a__     : Optional[int]  =False

    start += 1

  for j in range(end + 1	,	num + 1						):
    if sieve[j] is True:
      prime.append(SCREAMING_SNAKE_CASE						)

  return prime


if __name__ == "__main__":
     print(prime_sieve(int(input("""Enter a positive integer: """).strip())))






