

"""simple docstring"""
def 					a__						(						lowerCAmelCase    )	-> int:
      UpperCAmelCase__			:							Optional[int]							=    1
      for i in range(1			,	num + 1    ):
            fact *= i
      return fact




def 					a__						(						lowerCAmelCase    )	-> int:
      UpperCAmelCase__			:							List[str]							=    0
      while number > 0:
            UpperCAmelCase__			:							Dict							=    number % 10
            sum_of_digits += last_digit
            UpperCAmelCase__			:							List[str]							=    number // 10  # Removing the last_digit from the given number
      return sum_of_digits




def 					a__						(						lowerCAmelCase = 1_00    )	-> int:
      UpperCAmelCase__			:							Union[str, Any]							=    factorial(lowerCAmelCase    )
      UpperCAmelCase__			:							int							=    split_and_add(lowerCAmelCase    )
      return result


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




"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_A							=  {"""configuration_sew""": ["""SEW_PRETRAINED_CONFIG_ARCHIVE_MAP""", """SEWConfig"""]}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    _A							=  [
        """SEW_PRETRAINED_MODEL_ARCHIVE_LIST""",
        """SEWForCTC""",
        """SEWForSequenceClassification""",
        """SEWModel""",
        """SEWPreTrainedModel""",
    ]

if TYPE_CHECKING:
    from .configuration_sew import SEW_PRETRAINED_CONFIG_ARCHIVE_MAP, SEWConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_sew import (
            SEW_PRETRAINED_MODEL_ARCHIVE_LIST,
            SEWForCTC,
            SEWForSequenceClassification,
            SEWModel,
            SEWPreTrainedModel,
        )


else:
    import sys

    _A							=  _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)

