






import math





def 					snake_case	(  ):




	'''simple docstring'''







	__lowercase   							=	input("""Enter message: """       )
	__lowercase   							=	int(input(F'Enter key [2-{len(lowerCamelCase       ) - 1}]: '       )       )
	__lowercase   							=	input("""Encryption/Decryption [e/d]: """       )

	if mode.lower().startswith("""e"""       ):
		__lowercase   							=	encrypt_message(lowerCamelCase					,	lowerCamelCase       )
	elif mode.lower().startswith("""d"""       ):
		__lowercase   							=	decrypt_message(lowerCamelCase					,	lowerCamelCase       )

	# Append pipe symbol (vertical bar) to identify spaces at the end.
	print(F'Output:\n{text + "|"}'       )





def 					snake_case	(  lowerCamelCase					,	lowerCamelCase       ):




	'''simple docstring'''







	__lowercase   							=	[""""""] * key
	for col in range(lowerCamelCase       ):
		__lowercase   							=	col
		while pointer < len(lowerCamelCase       ):
			cipher_text[col] += message[pointer]
			pointer += key
	return "".join(lowerCamelCase       )





def 					snake_case	(  lowerCamelCase					,	lowerCamelCase       ):




	'''simple docstring'''







	__lowercase   							=	math.ceil(len(lowerCamelCase       ) / key       )
	__lowercase   							=	key
	__lowercase   							=	(num_cols * num_rows) - len(lowerCamelCase       )
	__lowercase   							=	[""""""] * num_cols
	__lowercase   							=	0
	__lowercase   							=	0

	for symbol in message:
		plain_text[col] += symbol
		col += 1

		if (
		    (col == num_cols)
		    or (col == num_cols - 1)
		    and (row >= num_rows - num_shaded_boxes)
		):
			__lowercase   							=	0
			row += 1

	return "".join(lowerCamelCase       )


if __name__ == "__main__":
						import doctest

						doctest.testmod()
						main()




'''simple docstring'''

from math import factorial




def 							_UpperCamelCase				(   lowerCAmelCase__:					int = 100   )      -> int:
							return sum(map(lowerCAmelCase__		,str(factorial(lowerCAmelCase__   )   )   )   )


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





