'''simple docstring'''

import warnings

from ...processing_utils import ProcessorMixin
from ...tokenization_utils_base import BatchEncoding



class 			UpperCAmelCase  (						a__					):





       '''simple docstring'''



       SCREAMING_SNAKE_CASE							=    ["image_processor", "tokenizer"]
       SCREAMING_SNAKE_CASE							=    "CLIPImageProcessor"
       SCREAMING_SNAKE_CASE							=    ("CLIPTokenizer", "CLIPTokenizerFast")

       def __init__(						self	,   __lowerCAmelCase=None	,   __lowerCAmelCase=None	,   **__lowerCAmelCase )  ->  Optional[int]:
        lowercase__				:    Any  =					None
        if "feature_extractor" in kwargs:
         warnings.warn(
             '''The `feature_extractor` argument is deprecated and will be removed in v5, use `image_processor`'''
             ''' instead.'''	,   __lowerCAmelCase	,   )
         lowercase__				:    Any  =					kwargs.pop('''feature_extractor''' )

        lowercase__				:    List[str]  =					image_processor if image_processor is not None else feature_extractor
        if image_processor is None:
         raise ValueError('''You need to specify an `image_processor`.''' )
        if tokenizer is None:
         raise ValueError('''You need to specify a `tokenizer`.''' )

        super().__init__(__lowerCAmelCase	,   __lowerCAmelCase )

       def __call__(						self	,   __lowerCAmelCase=None	,   __lowerCAmelCase=None	,   __lowerCAmelCase=None	,   **__lowerCAmelCase )  ->  List[str]:

        if text is None and images is None:
         raise ValueError('''You have to specify either text or images. Both cannot be none.''' )

        if text is not None:
         lowercase__				:    int  =					self.tokenizer(__lowerCAmelCase	,   return_tensors=__lowerCAmelCase	,   **__lowerCAmelCase )

        if images is not None:
         lowercase__				:    int  =					self.image_processor(__lowerCAmelCase	,   return_tensors=__lowerCAmelCase	,   **__lowerCAmelCase )

        if text is not None and images is not None:
         lowercase__				:    Optional[Any]  =					image_features.pixel_values
         return encoding
        elif text is not None:
         return encoding
        else:
         return BatchEncoding(data=dict(**__lowerCAmelCase )	,   tensor_type=__lowerCAmelCase )

       def _lowerCAmelCase(						self	,   *__lowerCAmelCase	,   **__lowerCAmelCase )  ->  List[str]:
        return self.tokenizer.batch_decode(*__lowerCAmelCase	,   **__lowerCAmelCase )

       def _lowerCAmelCase(						self	,   *__lowerCAmelCase	,   **__lowerCAmelCase )  ->  str:
        return self.tokenizer.decode(*__lowerCAmelCase	,   **__lowerCAmelCase )

       @property
       def _lowerCAmelCase(						self )  ->  List[str]:
        lowercase__				:    Union[str, Any]  =					self.tokenizer.model_input_names
        lowercase__				:    str  =					self.image_processor.model_input_names
        return list(dict.fromkeys(tokenizer_input_names + image_processor_input_names ) )

       @property
       def _lowerCAmelCase(						self )  ->  List[Any]:
        warnings.warn(
            '''`feature_extractor_class` is deprecated and will be removed in v5. Use `image_processor_class` instead.'''	,   __lowerCAmelCase	,   )
        return self.image_processor_class


       @property
       def _lowerCAmelCase(						self )  ->  str:
        warnings.warn(
            '''`feature_extractor` is deprecated and will be removed in v5. Use `image_processor` instead.'''	,   __lowerCAmelCase	,   )
        return self.image_processor


'''simple docstring'''

def 			__UpperCamelCase       (   UpperCAmelCase     ):
 lowercase__				:    Optional[int]  =					1
 for i in range(1		,     num + 1     ):
  fact *= i
 return fact
def 			__UpperCamelCase       (   UpperCAmelCase     ):
 lowercase__				:    Optional[Any]  =					0
 while number > 0:
  lowercase__				:    str  =					number % 10
  sum_of_digits += last_digit
  lowercase__				:    List[str]  =					number // 10  # Removing the last_digit from the given number
 return sum_of_digits
def 			__UpperCamelCase       (   UpperCAmelCase = 100     ):
 lowercase__				:    Optional[int]  =					factorial(UpperCAmelCase     )
 lowercase__				:    Dict  =					split_and_add(UpperCAmelCase     )
 return result


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

