






'''simple docstring'''

lowerCAmelCase				:Optional[int]        =      [0, 2, 4, 6, 8]
lowerCAmelCase				:Union[str, Any]        =      [1, 3, 5, 7, 9]





def lowerCamelCase      (      lowerCAmelCase    :     Any		,		lowerCAmelCase    :     Tuple		,		lowerCAmelCase    :     Union[str, Any]		,		lowerCAmelCase    :     Tuple		):





	"""simple docstring"""







	if remaining_length == 0:
		if digits[0] == 0 or digits[-1] == 0:
			return 0

		for i in range(length // 2 - 1		,		-1		,		-1		):
			remainder += digits[i] + digits[length - i - 1]

			if remainder % 2 == 0:
				return 0

			remainder //= 10

		return 1

	if remaining_length == 1:
		if remainder % 2 == 0:
			return 0

		__magic_name__	:   Union[str, Any]					     =					0
		for digit in range(10		):
			__magic_name__	:   str					     =					digit
			result += reversible_numbers(
			    0		,		(remainder + 2 * digit) // 10		,		__lowerCamelCase		,		__lowerCamelCase		)
		return result

	__magic_name__	:   Optional[int]					     =					0
	for digita in range(10		):
		__magic_name__	:   Union[str, Any]					     =					digita

		if (remainder + digita) % 2 == 0:
			__magic_name__	:   List[Any]					     =					ODD_DIGITS
		else:
			__magic_name__	:   int					     =					EVEN_DIGITS

		for digita in other_parity_digits:
			__magic_name__	:   int					     =					digita
			result += reversible_numbers(
			    remaining_length - 2		,		(remainder + digita + digita) // 10		,		__lowerCamelCase		,		__lowerCamelCase		,		)
	return result





def lowerCamelCase      (      lowerCAmelCase    :     str = 9		):





	"""simple docstring"""







	__magic_name__	:   Tuple					     =					0
	for length in range(1		,		max_power + 1		):
		result += reversible_numbers(__lowerCamelCase		,		0		,		[0] * length		,		__lowerCamelCase		)
	return result


if __name__ == "__main__":
							print(F'{solution() = }')



'''simple docstring'''

def lowerCamelCase      (      lowerCAmelCase    :     int		):





	"""simple docstring"""







	__magic_name__	:   Optional[int]					     =					1
	for i in range(1		,		num + 1		):
		fact *= i
	return fact





def lowerCamelCase      (      lowerCAmelCase    :     int		):





	"""simple docstring"""







	__magic_name__	:   List[str]					     =					0
	while number > 0:
		__magic_name__	:   str					     =					number % 10
		sum_of_digits += last_digit
		__magic_name__	:   Optional[int]					     =					number // 10  # Removing the last_digit from the given number
	return sum_of_digits





def lowerCamelCase      (      lowerCAmelCase    :     int = 100		):





	"""simple docstring"""







	__magic_name__	:   int					     =					factorial(lowerCAmelCase		)
	__magic_name__	:   Any					     =					split_and_add(lowerCAmelCase		)
	return result


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