

from __future__ import annotations

import math




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




def 					_lowercase     (				a_				:					int				)				->	list[int]:




					'''simple docstring'''







					__magic_name__							=    str(a_				)
					__magic_name__							=    [n]
					for i in range(1					,len(a_				)				):
										list_nums.append(int(str_num[i:]				)				)
										list_nums.append(int(str_num[:-i]				)				)
					return list_nums




def 					_lowercase     (				a_				:					int				)				->	bool:




					'''simple docstring'''







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




def 					_lowercase     (				a_				:					int = 1_1				)				->	list[int]:




					'''simple docstring'''







					__magic_name__							=    []
					__magic_name__							=    1_3
					while len(a_				) != count:
										if validate(a_				):
															__magic_name__							=    list_truncated_nums(a_				)
															if all(is_prime(a_				) for i in list_nums				):
																				list_truncated_primes.append(a_				)
										num += 2
					return list_truncated_primes




def 					_lowercase     (				)				->	int:




					'''simple docstring'''







					return sum(compute_truncated_primes(1_1				)				)


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





from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


A__						=							{"configuration_van": ["VAN_PRETRAINED_CONFIG_ARCHIVE_MAP", "VanConfig"]}


try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						A__						=							[
						    "VAN_PRETRAINED_MODEL_ARCHIVE_LIST",
						    "VanForImageClassification",
						    "VanModel",
						    "VanPreTrainedModel",
						]

if TYPE_CHECKING:
						from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_van import (
												    VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
												    VanForImageClassification,
												    VanModel,
												    VanPreTrainedModel,
												)

else:
						import sys

						A__						=							_LazyModule(__name__, globals()["__file__"], _import_structure)




