from __future__ import annotations

import math







def      _a					(   lowercase__	:      int			):







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







def      _a					(   lowercase__	:      int			):







     '''simple docstring'''


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







def      _a					(   lowercase__	:      int			):







     '''simple docstring'''


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







def      _a					(   lowercase__	:      int = 11			):







     '''simple docstring'''


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







def      _a					(   ):







     '''simple docstring'''


     return sum(compute_truncated_primes(11			)			)


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











"""simple docstring"""
import os
import tempfile
import unittest

from transformers.models.marian.convert_marian_tatoeba_to_pytorch import DEFAULT_REPO, TatoebaConverter
from transformers.testing_utils import slow
from transformers.utils import cached_property



@unittest.skipUnless(os.path.exists(a_)							,	"""Tatoeba directory does not exist.""")
class        UpperCamelCase__ (				unittest.TestCase):







    """simple docstring"""







    @cached_property
    def 				a__			(		self :	int ):





           '''simple docstring'''

           __magic_name__      				=    tempfile.mkdtemp()
           return TatoebaConverter(save_dir=UpperCamelCase_ )







    @slow
    def 				a__			(		self :	List[str] ):





           '''simple docstring'''

           self.resolver.convert_models(['heb-eng'] )







    @slow
    def 				a__			(		self :	Tuple ):





           '''simple docstring'''

           __magic_name__				,  __magic_name__      				=    self.resolver.write_model_card('opus-mt-he-en'				,    dry_run=UpperCamelCase_ )
           assert mmeta["long_pair"] == "heb-eng"