
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(__lowercase)	,		'Tatoeba directory does not exist.')
class 					lowerCamelCase__				(							unittest.TestCase):




	'''simple docstring'''




	@cached_property
	def   _lowerCamelCase							(   self						:Dict		)						->					Optional[Any]:
								__UpperCamelCase      :  Union[str, Any]       =   tempfile.mkdtemp()
								return TatoebaConverter(save_dir=a		)







	@slow
	def   _lowerCamelCase							(   self						:Optional[int]		)						->					Any:
								self.resolver.convert_models(["heb-eng"]		)







	@slow
	def   _lowerCamelCase							(   self						:Optional[Any]		)						->					Any:
								__UpperCamelCase  ,		__UpperCamelCase      :  int       =   self.resolver.write_model_card("opus-mt-he-en"	,  dry_run=a		)
								assert mmeta["long_pair"] == "heb-eng"

def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     int)   ->       int:






							'''simple docstring'''





							__UpperCamelCase      :  Tuple       =   1
							for i in range(1		,    num + 1):
														fact *= i
							return fact




def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     int)   ->       int:






							'''simple docstring'''





							__UpperCamelCase      :  Dict       =   0
							while number > 0:
														__UpperCamelCase      :  List[Any]       =   number % 10
														sum_of_digits += last_digit
														__UpperCamelCase      :  List[Any]       =   number // 10  # Removing the last_digit from the given number
							return sum_of_digits




def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     int = 100)   ->       int:






							'''simple docstring'''





							__UpperCamelCase      :  Optional[Any]       =   factorial(_lowerCamelCase)
							__UpperCamelCase      :  Tuple       =   split_and_add(_lowerCamelCase)
							return result


if __name__ == "__main__":
		print(solution(int(input('Enter the Number: ').strip())))