






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tensorflow_text_available, is_torch_available


lowerCamelCase     :							str    ={
    '''configuration_ernie''': ['''ERNIE_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''ErnieConfig''', '''ErnieOnnxConfig'''],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 lowerCamelCase     :							Dict    =[
     '''ERNIE_PRETRAINED_MODEL_ARCHIVE_LIST''',
     '''ErnieForCausalLM''',
     '''ErnieForMaskedLM''',
     '''ErnieForMultipleChoice''',
     '''ErnieForNextSentencePrediction''',
     '''ErnieForPreTraining''',
     '''ErnieForQuestionAnswering''',
     '''ErnieForSequenceClassification''',
     '''ErnieForTokenClassification''',
     '''ErnieModel''',
     '''ErniePreTrainedModel''',
 ]

if TYPE_CHECKING:
 from .configuration_ernie import ERNIE_PRETRAINED_CONFIG_ARCHIVE_MAP, ErnieConfig, ErnieOnnxConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_ernie import (
      ERNIE_PRETRAINED_MODEL_ARCHIVE_LIST,
      ErnieForCausalLM,
      ErnieForMaskedLM,
      ErnieForMultipleChoice,
      ErnieForNextSentencePrediction,
      ErnieForPreTraining,
      ErnieForQuestionAnswering,
      ErnieForSequenceClassification,
      ErnieForTokenClassification,
      ErnieModel,
      ErniePreTrainedModel,
  )

else:
 import sys

 lowerCamelCase     :							Union[str, Any]    =_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     int:
     UpperCamelCase__      :       int	    =  1
     for i in range(1 ,   num + 1      ):
          fact *= i
     return fact







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     int:
     UpperCamelCase__      :       List[Any]	    =  0
     while number > 0:
          UpperCamelCase__      :       List[Any]	    =  number % 10
          sum_of_digits += last_digit
          UpperCamelCase__      :       int	    =  number // 10  # Removing the last_digit from the given number
     return sum_of_digits







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase = 100      )			->     int:
     UpperCamelCase__      :       Optional[Any]	    =  factorial(__lowerCAmelCase      )
     UpperCamelCase__      :       Optional[int]	    =  split_and_add(__lowerCAmelCase      )
     return result


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