code: 
  
  
  
  
  from collections import OrderedDict
  from typing import Mapping
  
  from packaging import version
  
  from ...configuration_utils import PretrainedConfig
  from ...onnx import OnnxConfig
  from ...utils import logging
  
  
  _lowerCAmelCase     :			Optional[int]    =logging.get_logger(__name__)
  
  _lowerCAmelCase     :			Union[str, Any]    ={
      """apple/mobilevit-small""": """https://huggingface.co/apple/mobilevit-small/resolve/main/config.json""",
      """apple/mobilevit-x-small""": """https://huggingface.co/apple/mobilevit-x-small/resolve/main/config.json""",
      """apple/mobilevit-xx-small""": """https://huggingface.co/apple/mobilevit-xx-small/resolve/main/config.json""",
      """apple/deeplabv3-mobilevit-small""": (
          """https://huggingface.co/apple/deeplabv3-mobilevit-small/resolve/main/config.json"""
      ),
      """apple/deeplabv3-mobilevit-x-small""": (
          """https://huggingface.co/apple/deeplabv3-mobilevit-x-small/resolve/main/config.json"""
      ),
      """apple/deeplabv3-mobilevit-xx-small""": (
          """https://huggingface.co/apple/deeplabv3-mobilevit-xx-small/resolve/main/config.json"""
      ),
      # See all MobileViT models at https://huggingface.co/models?filter=mobilevit
  }
  
  class __UpperCamelCase    (							_SCREAMING_SNAKE_CASE		):
  
  
  
  
  
  
  					'''simple docstring'''
  
  
  
  					__magic_name__     			=      'mobilevit'
  
  
  
  
  
  					def __init__(							self							,			lowerCamelCase__=3							,			lowerCamelCase__=2_5_6							,			lowerCamelCase__=2							,			lowerCamelCase__=[1_4_4, 1_9_2, 2_4_0]							,			lowerCamelCase__=[1_6, 3_2, 6_4, 9_6, 1_2_8, 1_6_0, 6_4_0]							,			lowerCamelCase__=4							,			lowerCamelCase__=2.0							,			lowerCamelCase__=4.0							,			lowerCamelCase__="silu"							,			lowerCamelCase__=3							,			lowerCamelCase__=3_2							,			lowerCamelCase__=0.1							,			lowerCamelCase__=0.0							,			lowerCamelCase__=0.1							,			lowerCamelCase__=0.02							,			lowerCamelCase__=1e-5							,			lowerCamelCase__=True							,			lowerCamelCase__=2_5_6							,			lowerCamelCase__=[6, 1_2, 1_8]							,			lowerCamelCase__=0.1							,			lowerCamelCase__=2_5_5							,			**lowerCamelCase__							,			):
  						super().__init__(**UpperCamelCase__	)
  
  						UpperCAmelCase__:  Optional[int]		       =   num_channels
  						UpperCAmelCase__:  str		       =   image_size
  						UpperCAmelCase__:  Dict		       =   patch_size
  						UpperCAmelCase__:  List[str]		       =   hidden_sizes
  						UpperCAmelCase__:  Dict		       =   neck_hidden_sizes
  						UpperCAmelCase__:  Tuple		       =   num_attention_heads
  						UpperCAmelCase__:  Any		       =   mlp_ratio
  						UpperCAmelCase__:  Any		       =   expand_ratio
  						UpperCAmelCase__:  Optional[int]		       =   hidden_act
  						UpperCAmelCase__:  str		       =   conv_kernel_size
  						UpperCAmelCase__:  List[str]		       =   output_stride
  						UpperCAmelCase__:  Tuple		       =   hidden_dropout_prob
  						UpperCAmelCase__:  List[str]		       =   attention_probs_dropout_prob
  						UpperCAmelCase__:  Dict		       =   classifier_dropout_prob
  						UpperCAmelCase__:  Dict		       =   initializer_range
  						UpperCAmelCase__:  Union[str, Any]		       =   layer_norm_eps
  						UpperCAmelCase__:  str		       =   qkv_bias
  
  						# decode head attributes for semantic segmentation
  						UpperCAmelCase__:  Union[str, Any]		       =   aspp_out_channels
  						UpperCAmelCase__:  Dict		       =   atrous_rates
  						UpperCAmelCase__:  Tuple		       =   aspp_dropout_prob
  						UpperCAmelCase__:  Tuple		       =   semantic_loss_ignore_index
  
  class __UpperCamelCase    (							_SCREAMING_SNAKE_CASE		):
  
  
  
  
  
  
  					'''simple docstring'''
  
  
  
  					__magic_name__     			=      version.parse("1.11"		)
  
  
  
  
  
  					@property
  					def       _UpperCAmelCase						(							self	):
  						return OrderedDict([("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"})]	)
  
  
  
  
  
  					@property
  					def       _UpperCAmelCase						(							self	):
  						if self.task == "image-classification":
  							return OrderedDict([("logits", {0: "batch"})]	)
  						else:
  							return OrderedDict([("last_hidden_state", {0: "batch"}), ("pooler_output", {0: "batch"})]	)
  
  
  
  
  
  					@property
  					def       _UpperCAmelCase						(							self	):
  						return 1e-4
style_context: 
  
  from __future__ import annotations
  
  from collections import Counter
  
  
  
  def  _A  (			SCREAMING_SNAKE_CASE			):
  	UpperCAmelCase__:  Optional[Any]		       =   [True] * n
  	UpperCAmelCase__:  Any		       =   False
  	UpperCAmelCase__:  Tuple		       =   False
  	UpperCAmelCase__:  Optional[Any]		       =   True
  
  	for i in range(3  ,int(n**0.5 + 1			)  ,2			):
  		UpperCAmelCase__:  Any		       =   i * 2
  		while index < n:
  			UpperCAmelCase__:  Optional[int]		       =   False
  			UpperCAmelCase__:  Tuple		       =   index + i
  
  	UpperCAmelCase__:  int		       =   [2]
  
  	for i in range(3  ,SCREAMING_SNAKE_CASE  ,2			):
  		if is_prime[i]:
  			primes.append(SCREAMING_SNAKE_CASE			)
  
  	return primes
  
  
  
  def  _A  (			SCREAMING_SNAKE_CASE			):
  	UpperCAmelCase__:  List[Any]		       =   str(SCREAMING_SNAKE_CASE			)
  	UpperCAmelCase__:  Tuple		       =   []
  	UpperCAmelCase__:  Optional[int]		       =   ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
  
  	for duplicate in Counter(SCREAMING_SNAKE_CASE			) - Counter(set(SCREAMING_SNAKE_CASE			)			):
  		UpperCAmelCase__:  Optional[Any]		       =   [int(number_str.replace(SCREAMING_SNAKE_CASE  ,SCREAMING_SNAKE_CASE			)			) for digit in digits]
  		replacements.append(SCREAMING_SNAKE_CASE			)
  
  	return replacements
  
  
  
  def  _A  (			SCREAMING_SNAKE_CASE = 8			):
  	UpperCAmelCase__:  Union[str, Any]		       =   set()
  
  	# Filter primes with less than 3 replaceable digits
  	UpperCAmelCase__:  Optional[Any]		       =   {
  	    x for x in set(prime_sieve(1_0_0_0_0_0_0			)			) if len(str(SCREAMING_SNAKE_CASE			)			) - len(set(str(SCREAMING_SNAKE_CASE			)			)			) >= 3
  	}
  
  	for prime in primes:
  		if prime in numbers_checked:
  			continue
  
  		UpperCAmelCase__:  Optional[int]		       =   digit_replacements(SCREAMING_SNAKE_CASE			)
  
  		for family in replacements:
  			numbers_checked.update(SCREAMING_SNAKE_CASE			)
  			UpperCAmelCase__:  Dict		       =   primes.intersection(SCREAMING_SNAKE_CASE			)
  
  			if len(SCREAMING_SNAKE_CASE			) != family_length:
  				continue
  
  			return min(SCREAMING_SNAKE_CASE			)
  
  	return -1
  
  
  if __name__ == "__main__":
  					print(solution())