






import unittest

from diffusers.pipelines.pipeline_utils import is_safetensors_compatible

class        lowerCAmelCase_				(      unittest.TestCase	):







				"""simple docstring"""




				def 				__a   ( self     :Optional[int]     ):
					UpperCamelCase__ :List[str]						=      [
					    """safety_checker/pytorch_model.bin""",
					    """safety_checker/model.safetensors""",
					    """vae/diffusion_pytorch_model.bin""",
					    """vae/diffusion_pytorch_model.safetensors""",
					    """text_encoder/pytorch_model.bin""",
					    """text_encoder/model.safetensors""",
					    """unet/diffusion_pytorch_model.bin""",
					    """unet/diffusion_pytorch_model.safetensors""",
					]
					self.assertTrue(is_safetensors_compatible(__lowercase     )     )







				def 				__a   ( self     :List[Any]     ):
					UpperCamelCase__ :Dict						=      [
					    """unet/diffusion_pytorch_model.bin""",
					    """unet/diffusion_pytorch_model.safetensors""",
					]
					self.assertTrue(is_safetensors_compatible(__lowercase     )     )







				def 				__a   ( self     :Dict     ):
					UpperCamelCase__ :str						=      [
					    """safety_checker/pytorch_model.bin""",
					    """safety_checker/model.safetensors""",
					    """vae/diffusion_pytorch_model.bin""",
					    """vae/diffusion_pytorch_model.safetensors""",
					    """text_encoder/pytorch_model.bin""",
					    """text_encoder/model.safetensors""",
					    """unet/diffusion_pytorch_model.bin""",
					    # Removed: 'unet/diffusion_pytorch_model.safetensors',
					]
					self.assertFalse(is_safetensors_compatible(__lowercase     )     )







				def 				__a   ( self     :Dict     ):
					UpperCamelCase__ :Tuple						=      [
					    """text_encoder/pytorch_model.bin""",
					    """text_encoder/model.safetensors""",
					]
					self.assertTrue(is_safetensors_compatible(__lowercase     )     )







				def 				__a   ( self     :Optional[Any]     ):
					UpperCamelCase__ :Optional[Any]						=      [
					    """safety_checker/pytorch_model.bin""",
					    """safety_checker/model.safetensors""",
					    """vae/diffusion_pytorch_model.bin""",
					    """vae/diffusion_pytorch_model.safetensors""",
					    """text_encoder/pytorch_model.bin""",
					    # Removed: 'text_encoder/model.safetensors',
					    """unet/diffusion_pytorch_model.bin""",
					    """unet/diffusion_pytorch_model.safetensors""",
					]
					self.assertFalse(is_safetensors_compatible(__lowercase     )     )







				def 				__a   ( self     :Dict     ):
					UpperCamelCase__ :Dict						=      [
					    """safety_checker/pytorch_model.fp16.bin""",
					    """safety_checker/model.fp16.safetensors""",
					    """vae/diffusion_pytorch_model.fp16.bin""",
					    """vae/diffusion_pytorch_model.fp16.safetensors""",
					    """text_encoder/pytorch_model.fp16.bin""",
					    """text_encoder/model.fp16.safetensors""",
					    """unet/diffusion_pytorch_model.fp16.bin""",
					    """unet/diffusion_pytorch_model.fp16.safetensors""",
					]
					UpperCamelCase__ :List[str]						=      """fp16"""
					self.assertTrue(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )







				def 				__a   ( self     :Union[str, Any]     ):
					UpperCamelCase__ :Dict						=      [
					    """unet/diffusion_pytorch_model.fp16.bin""",
					    """unet/diffusion_pytorch_model.fp16.safetensors""",
					]
					UpperCamelCase__ :List[str]						=      """fp16"""
					self.assertTrue(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )







				def 				__a   ( self     :Union[str, Any]     ):
					UpperCamelCase__ :int						=      [
					    """unet/diffusion_pytorch_model.bin""",
					    """unet/diffusion_pytorch_model.safetensors""",
					]
					UpperCamelCase__ :List[str]						=      """fp16"""
					self.assertTrue(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )







				def 				__a   ( self     :List[str]     ):
					UpperCamelCase__ :Tuple						=      [
					    """safety_checker/pytorch_model.fp16.bin""",
					    """safety_checker/model.fp16.safetensors""",
					    """vae/diffusion_pytorch_model.fp16.bin""",
					    """vae/diffusion_pytorch_model.fp16.safetensors""",
					    """text_encoder/pytorch_model.fp16.bin""",
					    """text_encoder/model.fp16.safetensors""",
					    """unet/diffusion_pytorch_model.fp16.bin""",
					    # Removed: 'unet/diffusion_pytorch_model.fp16.safetensors',
					]
					UpperCamelCase__ :List[Any]						=      """fp16"""
					self.assertFalse(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )







				def 				__a   ( self     :Any     ):
					UpperCamelCase__ :str						=      [
					    """text_encoder/pytorch_model.fp16.bin""",
					    """text_encoder/model.fp16.safetensors""",
					]
					UpperCamelCase__ :Tuple						=      """fp16"""
					self.assertTrue(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )







				def 				__a   ( self     :int     ):
					UpperCamelCase__ :Union[str, Any]						=      [
					    """text_encoder/pytorch_model.bin""",
					    """text_encoder/model.safetensors""",
					]
					UpperCamelCase__ :Dict						=      """fp16"""
					self.assertTrue(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )







				def 				__a   ( self     :List[Any]     ):
					UpperCamelCase__ :Optional[int]						=      [
					    """safety_checker/pytorch_model.fp16.bin""",
					    """safety_checker/model.fp16.safetensors""",
					    """vae/diffusion_pytorch_model.fp16.bin""",
					    """vae/diffusion_pytorch_model.fp16.safetensors""",
					    """text_encoder/pytorch_model.fp16.bin""",
					    # 'text_encoder/model.fp16.safetensors',
					    """unet/diffusion_pytorch_model.fp16.bin""",
					    """unet/diffusion_pytorch_model.fp16.safetensors""",
					]
					UpperCamelCase__ :List[str]						=      """fp16"""
					self.assertFalse(is_safetensors_compatible(__lowercase  ,     variant=__lowercase     )     )





def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





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


def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





	snake_case_						       =	0
	while number > 0:
		snake_case_						       =	number % 10
		sum_of_digits += last_digit
		snake_case_						       =	number // 10  # Removing the last_digit from the given number
	return sum_of_digits


def 		lowerCamelCase__       (						_A = 100				):







	'''simple docstring'''





	snake_case_						       =	factorial(_A				)
	snake_case_						       =	split_and_add(_A				)
	return result


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