import string




def     UpperCamelCase						(	__lowercase						:			str     ):
		'''simple docstring'''




		for key in range(len(string.ascii_uppercase     )     ):
				A_		:    Optional[Any]         =				''
				for symbol in message:
						if symbol in string.ascii_uppercase:
								A_		:    Optional[int]         =				string.ascii_uppercase.find(__lowercase     )
								A_		:    Dict         =				num - key
								if num < 0:
										A_		:    Union[str, Any]         =				num + len(string.ascii_uppercase     )
								A_		:    str         =				translated + string.ascii_uppercase[num]
						else:
								A_		:    Dict         =				translated + symbol
				print(f'''Decryption using Key #{key}: {translated}'''     )




def     UpperCamelCase						(	):
		'''simple docstring'''




		A_		:    Any         =				input('Encrypted message: '     )
		A_		:    Tuple         =				message.upper()
		decrypt(__lowercase     )


if __name__ == "__main__":
	import doctest

	doctest.testmod()
	main()







from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
	if not (is_transformers_available() and is_torch_available() and is_transformers_version(""">=""", """4.25.0""")):
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	from ...utils.dummy_torch_and_transformers_objects import UnCLIPImageVariationPipeline, UnCLIPPipeline
else:
	from .pipeline_unclip import UnCLIPPipeline
	from .pipeline_unclip_image_variation import UnCLIPImageVariationPipeline
	from .text_proj import UnCLIPTextProjModel






