



'''simple docstring'''




import string

def 	__UpperCAmelCase       ( __magic_name__						)->    Optional[Any]:



			"""simple docstring"""



			for key in range(len(string.ascii_uppercase						)						):
						snake_case_				:					List[Any]   =       ''
						for symbol in message:
									if symbol in string.ascii_uppercase:
												snake_case_				:					Any   =       string.ascii_uppercase.find(lowerCAmelCase__						)
												snake_case_				:					Optional[Any]   =       num - key
												if num < 0:
															snake_case_				:					Any   =       num + len(string.ascii_uppercase						)
												snake_case_				:					List[Any]   =       translated + string.ascii_uppercase[num]
									else:
												snake_case_				:					int   =       translated + symbol
						print(F'''Decryption using Key #{key}: {translated}'''						)

def 	__UpperCAmelCase       ( )->    str:



			"""simple docstring"""



			snake_case_				:					Dict   =       input("Encrypted message: "						)
			snake_case_				:					List[str]   =       message.upper()
			decrypt(lowerCAmelCase__						)


if __name__ == "__main__":
		import doctest

		doctest.testmod()
		main()












'''simple docstring'''




def 	__UpperCAmelCase       ( __magic_name__						)->    list[int]:



			"""simple docstring"""



			if length <= 0 or not isinstance(__magic_name__     ,__magic_name__						):
						raise ValueError("Length must be a positive integer."						)
			return [n * (2 * n - 1) for n in range(__magic_name__						)]


if __name__ == "__main__":
		print(hexagonal_numbers(length=5))
		print(hexagonal_numbers(length=10))




