





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


_lowercase		:  Union[str, Any]			       =logging.get_logger(__name__)

_lowercase		:  str			       ={
    """bigcode/gpt_bigcode-santacoder""": """https://huggingface.co/bigcode/gpt_bigcode-santacoder/resolve/main/config.json""",
}






class 						UpperCamelCase_  (  snake_case__							):
					_a      :						Optional[int]						    =					'gpt_bigcode'
					_a      :						Optional[int]						    =					['past_key_values']
					_a      :						List[str]						    =					{
					    'hidden_size': 'n_embd',
					    'max_position_embeddings': 'n_positions',
					    'num_attention_heads': 'n_head',
					    'num_hidden_layers': 'n_layer',
					}



					def __init__(		self     :     Tuple       ,      lowerCamelCase     :     List[str]=5_02_57       ,      lowerCamelCase     :     int=10_24       ,      lowerCamelCase     :     Optional[int]=7_68       ,      lowerCamelCase     :     Any=12       ,      lowerCamelCase     :     str=12       ,      lowerCamelCase     :     Tuple=None       ,      lowerCamelCase     :     Optional[Any]="gelu_pytorch_tanh"       ,      lowerCamelCase     :     Any=0.1       ,      lowerCamelCase     :     Dict=0.1       ,      lowerCamelCase     :     int=0.1       ,      lowerCamelCase     :     List[Any]=1E-5       ,      lowerCamelCase     :     List[Any]=0.02       ,      lowerCamelCase     :     Tuple=True       ,      lowerCamelCase     :     Union[str, Any]=True       ,      lowerCamelCase     :     str=5_02_56       ,      lowerCamelCase     :     Dict=5_02_56       ,      lowerCamelCase     :     Dict=True       ,      lowerCamelCase     :     List[str]=True       ,      lowerCamelCase     :     Union[str, Any]=True       ,      **lowerCamelCase     :     Dict       ,      ):
							lowerCamelCase_	:     List[Any] 						=      vocab_size
							lowerCamelCase_	:     str 						=      n_positions
							lowerCamelCase_	:     Any 						=      n_embd
							lowerCamelCase_	:     Optional[int] 						=      n_layer
							lowerCamelCase_	:     int 						=      n_head
							lowerCamelCase_	:     Union[str, Any] 						=      n_inner
							lowerCamelCase_	:     Any 						=      activation_function
							lowerCamelCase_	:     Optional[Any] 						=      resid_pdrop
							lowerCamelCase_	:     str 						=      embd_pdrop
							lowerCamelCase_	:     Any 						=      attn_pdrop
							lowerCamelCase_	:     Tuple 						=      layer_norm_epsilon
							lowerCamelCase_	:     Dict 						=      initializer_range
							lowerCamelCase_	:     Union[str, Any] 						=      scale_attn_weights
							lowerCamelCase_	:     str 						=      use_cache
							lowerCamelCase_	:     Tuple 						=      attention_softmax_in_fpaa
							lowerCamelCase_	:     Optional[int] 						=      scale_attention_softmax_in_fpaa
							lowerCamelCase_	:     Dict 						=      multi_query

							lowerCamelCase_	:     Any 						=      bos_token_id
							lowerCamelCase_	:     int 						=      eos_token_id

							super().__init__(bos_token_id=lowerCamelCase       ,      eos_token_id=lowerCamelCase       ,      **lowerCamelCase						)







from __future__ import annotations

import math


def 		_SCREAMING_SNAKE_CASE     ( lowerCAmelCase__						):

		if num <= 0:
				lowerCamelCase_	:     Optional[int] 						=      F"{num}: Invalid input, please enter a positive integer."
				raise ValueError(lowerCAmelCase__						)

		lowerCamelCase_	:     str 						=      [True] * (num + 1)
		lowerCamelCase_	:     List[str] 						=      []
		lowerCamelCase_	:     Optional[int] 						=      2
		lowerCamelCase_	:     List[str] 						=      int(math.sqrt(lowerCAmelCase__						)						)

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

						# Set multiples of start be False
						for i in range(start * start							,num + 1							,lowerCAmelCase__						):
								if sieve[i] is True:
										lowerCamelCase_	:     Tuple 						=      False

				start += 1

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

		return prime


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