



def 	snake_case__       (					__lowercase       )		->		int:







						"""simple docstring"""

						A__	:							List[Any]						    = 1
						for i in range(1							,     num + 1       ):
												fact *= i
						return fact
def 	snake_case__       (					__lowercase       )		->		int:







						"""simple docstring"""

						A__	:							List[Any]						    = 0
						while number > 0:
												A__	:							List[Any]						    = number % 1_0
												sum_of_digits += last_digit
												A__	:							List[str]						    = number // 1_0  # Removing the last_digit from the given number
						return sum_of_digits
def 	snake_case__       (					__lowercase = 1_0_0       )		->		int:







						"""simple docstring"""

						A__	:							List[Any]						    = factorial(__lowercase       )
						A__	:							Tuple						    = split_and_add(__lowercase       )
						return result


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




import unittest

from transformers import is_torch_available
from transformers.testing_utils import require_sentencepiece, require_tokenizers, require_torch, slow, torch_device


if is_torch_available():
		from transformers import AutoModelForSeqaSeqLM, AutoTokenizer




@require_torch
@require_sentencepiece
@require_tokenizers
class 							lowerCAmelCase__  (	unittest.TestCase						):







					@slow
					def  _lowercase			(       self      :     List[Any]):
											A__	:							Optional[int]						    = AutoModelForSeqaSeqLM.from_pretrained("google/mt5-small"			,		return_dict=_A).to(_A)
											A__	:							Any						    = AutoTokenizer.from_pretrained("google/mt5-small")

											A__	:							int						    = tokenizer("Hello there"			,		return_tensors="pt").input_ids
											A__	:							List[str]						    = tokenizer("Hi I am"			,		return_tensors="pt").input_ids

											A__	:							int						    = model(input_ids.to(_A)			,		labels=labels.to(_A)).loss
											A__	:							Optional[int]						    = -(labels.shape[-1] * loss.item())

											A__	:							List[str]						    = -84.91_27
											self.assertTrue(abs(mtf_score - EXPECTED_SCORE) < 1e-4)