


"""simple docstring"""
def     _a					(   _SCREAMING_SNAKE_CASE					,			_SCREAMING_SNAKE_CASE = 13					)     ->					str:
							snake_case_     							=		''
							for c in s:
														if "A" <= c <= "Z":
																					out += chr(ord("""A"""					) + (ord(_lowercase					) - ord("""A"""					) + n) % 26					)
														elif "a" <= c <= "z":
																					out += chr(ord("""a"""					) + (ord(_lowercase					) - ord("""a"""					) + n) % 26					)
														else:
																					out += c
							return out







def     _a					(   )     ->					None:
							snake_case_     							=		input("""Enter message: """					)

							snake_case_     							=		dencrypt(_lowercase					,			13					)
							print("""Encryption:"""					,			_lowercase					)

							snake_case_     							=		dencrypt(_lowercase					,			13					)
							print("""Decryption: """					,			_lowercase					)


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				main()








'''simple docstring'''

from __future__ import annotations

_A					:     Union[str, Any]      ='''Alexander Joslin'''







def     __UpperCamelCase					(				_lowercase       )			->      int:

	if number <= 0:
		_lowercase       :							Optional[Any]  	=		f'''n must be greater than 0. Got n = {number}'''
		raise ValueError(_lowercase       )

	_lowercase       :							List[str]  	=		[number + 1] * (number + 1)

	# starting position
	_lowercase       :							str  	=		0
	for i in range(1,					_lowercase       ):
		_lowercase       :							Union[str, Any]  	=		min(table[i + 1],					table[i] + 1       )
		# check if out of bounds
		if i * 2 <= number:
			_lowercase       :							Optional[Any]  	=		min(table[i * 2],					table[i] + 1       )
		# check if out of bounds
		if i * 3 <= number:
			_lowercase       :							Any  	=		min(table[i * 3],					table[i] + 1       )
	return table[number]


if __name__ == "__main__":
		import doctest

		doctest.testmod()
