
"""simple docstring"""



def  _UpperCamelCase	(						_A      )    ->  int:





    """simple docstring"""

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


def  _UpperCamelCase	(						_A      )    ->  int:





    """simple docstring"""

    _UpperCAmelCase          =   0
    while number > 0:
        _UpperCAmelCase          =   number % 1_0
        sum_of_digits += last_digit
        _UpperCAmelCase          =   number // 1_0  # Removing the last_digit from the given number
    return sum_of_digits


def  _UpperCamelCase	(						_A = 1_0_0      )    ->  int:





    """simple docstring"""

    _UpperCAmelCase          =   factorial(_A      )
    _UpperCAmelCase          =   split_and_add(_A      )
    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					:	Tuple							=		{
    '''configuration_pegasus_x''': ['''PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''PegasusXConfig'''],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 a					:	List[str]							=		[
     '''PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST''',
     '''PegasusXForConditionalGeneration''',
     '''PegasusXModel''',
     '''PegasusXPreTrainedModel''',
 ]


if TYPE_CHECKING:
 from .configuration_pegasus_x import PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP, PegasusXConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_pegasus_x import (
      PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST,
      PegasusXForConditionalGeneration,
      PegasusXModel,
      PegasusXPreTrainedModel,
  )


else:
 import sys

 a					:	Dict							=		_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)