
import string

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						str       ) ->       None:

				"""simple docstring"""







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

def 				SCREAMING_SNAKE_CASE     (      ) ->       None:

				"""simple docstring"""







				A__  :	Optional[Any]         =							input('''Encrypted message: '''       )
				A__  :	Tuple         =							message.upper()
				decrypt(__UpperCamelCase       )


if __name__ == "__main__":
					import doctest

					doctest.testmod()
					main()

import inspect
import os
import unittest

import torch

import accelerate
from accelerate import debug_launcher
from accelerate.test_utils import (
    execute_subprocess_async,
    require_cpu,
    require_huggingface_suite,
    require_multi_gpu,
    require_single_gpu,
)
from accelerate.utils import patch_environment







@require_huggingface_suite
class  UpperCamelCase__		(    unittest.TestCase   ):







	'''simple docstring'''





	def   __snake_case				(			self		):
					A__  :	Dict         =							inspect.getfile(accelerate.test_utils		)
					A__  :	Any         =							os.path.sep.join(
					    mod_file.split(os.path.sep		)[:-1] + ['''scripts''', '''external_deps''', '''test_metrics.py''']		)

					from accelerate.test_utils.scripts.external_deps import test_metrics  # noqa: F401

					A__  :	Tuple         =							test_metrics





	@require_cpu
	def   __snake_case				(			self		):
					debug_launcher(self.test_metrics.main				,       num_processes=1		)





	@require_cpu
	def   __snake_case				(			self		):
					debug_launcher(self.test_metrics.main		)





	@require_single_gpu
	def   __snake_case				(			self		):
					self.test_metrics.main()





	@require_multi_gpu
	def   __snake_case				(			self		):
					print(F"Found {torch.cuda.device_count()} devices."		)
					A__  :	int         =							['''torchrun''', F"--nproc_per_node={torch.cuda.device_count()}", self.test_file_path]
					with patch_environment(omp_num_threads=1		):
									execute_subprocess_async(UpperCamelCase__				,       env=os.environ.copy()		)