

'''simple docstring'''
from __future__ import annotations

import math


def  a__       (    _SCREAMING_SNAKE_CASE   :       int				)     ->					bool:


	"""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(_SCREAMING_SNAKE_CASE				) + 1				)	,				6				):
		if number % i == 0 or number % (i + 2) == 0:
			return False
	return True


def  a__       (    _SCREAMING_SNAKE_CASE   :       int				)     ->					list[int]:


	"""simple docstring"""





	UpperCAmelCase_     :      Optional[int]						=  str(_SCREAMING_SNAKE_CASE				)
	UpperCAmelCase_     :      List[Any]						=  [n]
	for i in range(1	,				len(_SCREAMING_SNAKE_CASE				)				):
		list_nums.append(int(str_num[i:]				)				)
		list_nums.append(int(str_num[:-i]				)				)
	return list_nums


def  a__       (    _SCREAMING_SNAKE_CASE   :       int				)     ->					bool:


	"""simple docstring"""





	if len(str(_SCREAMING_SNAKE_CASE				)				) > 3:
		if not is_prime(int(str(_SCREAMING_SNAKE_CASE				)[-3:]				)				) or not is_prime(int(str(_SCREAMING_SNAKE_CASE				)[:3]				)				):
			return False
	return True


def  a__       (    _SCREAMING_SNAKE_CASE   :       int = 11				)     ->					list[int]:


	"""simple docstring"""





	UpperCAmelCase_     :      list[int]						=  []
	UpperCAmelCase_     :      int						=  13
	while len(_SCREAMING_SNAKE_CASE				) != count:
		if validate(_SCREAMING_SNAKE_CASE				):
			UpperCAmelCase_     :      Optional[Any]						=  list_truncated_nums(_SCREAMING_SNAKE_CASE				)
			if all(is_prime(_SCREAMING_SNAKE_CASE				) for i in list_nums				):
				list_truncated_primes.append(_SCREAMING_SNAKE_CASE				)
		num += 2
	return list_truncated_primes


def  a__       (    )     ->					int:


	"""simple docstring"""





	return sum(compute_truncated_primes(11				)				)


if __name__ == "__main__":
					print(f"""{sum(compute_truncated_primes(11)) = }""")










import logging

from transformers.configuration_utils import PretrainedConfig


__magic_name__  :  Tuple					=       logging.getLogger(__name__)





class     SCREAMING_SNAKE_CASE__		(_a			):
     lowercase_ :      Tuple				= "masked_bert"
     def __init__(						self	:		List[Any]       ,						__lowerCamelCase	:		Optional[Any]=3_05_22       ,						__lowerCamelCase	:		Dict=7_68       ,						__lowerCamelCase	:		Tuple=12       ,						__lowerCamelCase	:		int=12       ,						__lowerCamelCase	:		Tuple=30_72       ,						__lowerCamelCase	:		List[Any]="gelu"       ,						__lowerCamelCase	:		Union[str, Any]=0.1       ,						__lowerCamelCase	:		Dict=0.1       ,						__lowerCamelCase	:		Optional[int]=5_12       ,						__lowerCamelCase	:		List[Any]=2       ,						__lowerCamelCase	:		Union[str, Any]=0.02       ,						__lowerCamelCase	:		Optional[int]=1e-12       ,						__lowerCamelCase	:		Optional[int]=0       ,						__lowerCamelCase	:		List[str]="topK"       ,						__lowerCamelCase	:		Union[str, Any]="constant"       ,						__lowerCamelCase	:		Union[str, Any]=0.0       ,						**__lowerCamelCase	:		Tuple       ,						):



       """simple docstring"""
       super().__init__(pad_token_id=__lowerCamelCase       ,						**__lowerCamelCase						)

       lowerCAmelCase__										=      vocab_size
       lowerCAmelCase__										=      hidden_size
       lowerCAmelCase__										=      num_hidden_layers
       lowerCAmelCase__										=      num_attention_heads
       lowerCAmelCase__										=      hidden_act
       lowerCAmelCase__										=      intermediate_size
       lowerCAmelCase__										=      hidden_dropout_prob
       lowerCAmelCase__										=      attention_probs_dropout_prob
       lowerCAmelCase__										=      max_position_embeddings
       lowerCAmelCase__										=      type_vocab_size
       lowerCAmelCase__										=      initializer_range
       lowerCAmelCase__										=      layer_norm_eps
       lowerCAmelCase__										=      pruning_method
       lowerCAmelCase__										=      mask_init
       lowerCAmelCase__										=      mask_scale

