




from ...processing_utils import ProcessorMixin
class 						UpperCAmelCase  (							UpperCAmelCase__     ):







						'''simple docstring'''





						lowerCAmelCase_							=  '''WhisperFeatureExtractor'''
						lowerCAmelCase_							=  '''WhisperTokenizer'''






						def __init__(		self				:	Optional[int]			,      __lowercase				:	int			,      __lowercase				:	List[Any]		):






							"""simple docstring"""






							super().__init__(__lowercase			,      __lowercase		)
							snake_case_						       =	self.feature_extractor
							snake_case_						       =	False






						def 			snake_case__		(		self				:	Dict			,      __lowercase				:	Dict=None			,      __lowercase				:	Optional[Any]=None			,      __lowercase				:	Tuple=True		):






							"""simple docstring"""






							return self.tokenizer.get_decoder_prompt_ids(task=__lowercase			,      language=__lowercase			,      no_timestamps=__lowercase		)






						def __call__(		self				:	Optional[int]			,      *__lowercase				:	Dict			,      **__lowercase				:	Any		):






							"""simple docstring"""






							if self._in_target_context_manager:
								return self.current_processor(*__lowercase			,      **__lowercase		)

							snake_case_						       =	kwargs.pop("audio"			,      __lowercase		)
							snake_case_						       =	kwargs.pop("sampling_rate"			,      __lowercase		)
							snake_case_						       =	kwargs.pop("text"			,      __lowercase		)
							if len(__lowercase		) > 0:
								snake_case_						       =	args[0]
								snake_case_						       =	args[1:]

							if audio is None and text is None:
								raise ValueError("You need to specify either an `audio` or `text` input to process."		)

							if audio is not None:
								snake_case_						       =	self.feature_extractor(__lowercase			,      *__lowercase			,      sampling_rate=__lowercase			,      **__lowercase		)
							if text is not None:
								snake_case_						       =	self.tokenizer(__lowercase			,      **__lowercase		)

							if text is None:
								return inputs

							elif audio is None:
								return encodings
							else:
								snake_case_						       =	encodings["input_ids"]
								return inputs






						def 			snake_case__		(		self				:	List[Any]			,      *__lowercase				:	str			,      **__lowercase				:	Dict		):






							"""simple docstring"""






							return self.tokenizer.batch_decode(*__lowercase			,      **__lowercase		)






						def 			snake_case__		(		self				:	Union[str, Any]			,      *__lowercase				:	str			,      **__lowercase				:	Union[str, Any]		):






							"""simple docstring"""






							return self.tokenizer.decode(*__lowercase			,      **__lowercase		)






						def 			snake_case__		(		self				:	Dict			,      __lowercase				:	str			,      __lowercase				:	Optional[Any]="np"		):






							"""simple docstring"""






							return self.tokenizer.get_prompt_ids(__lowercase			,      return_tensors=__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())))
