






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(UpperCAmelCase__     )    ,							"""Tatoeba directory does not exist."""     )
class     _a							(	unittest.TestCase     ):






  """simple docstring"""





  @cached_property
  def  _UpperCAmelCase  (  self			)      ->			str:
     UpperCamelCase_						=  tempfile.mkdtemp()
     return TatoebaConverter(save_dir=_UpperCAmelCase			)




  @slow
  def  _UpperCAmelCase  (  self			)      ->			Union[str, Any]:
     self.resolver.convert_models(['heb-eng']			)




  @slow
  def  _UpperCAmelCase  (  self			)      ->			List[str]:
     UpperCamelCase_		,   UpperCamelCase_						=  self.resolver.write_model_card('opus-mt-he-en'		,		dry_run=_UpperCAmelCase			)
     assert mmeta["long_pair"] == "heb-eng"












'''simple docstring'''




def 						__lowerCamelCase			(	UpperCAmelCase_ = 10_00							)   ->int:
	return sum(e for e in range(3					,				UpperCAmelCase_							) if e % 3 == 0 or e % 5 == 0							)


if __name__ == "__main__":
			print(f"""{solution() = }""")



