






import string
def 					snake_case_						(   lowerCAmelCase_				:  str					):
							for key in range(len(string.ascii_uppercase					)					):
														__lowercase					:							Union[str, Any]			=   """"""
														for symbol in message:
																					if symbol in string.ascii_uppercase:
																												__lowercase					:							Optional[int]			=   string.ascii_uppercase.find(lowerCAmelCase_					)
																												__lowercase					:							Dict			=   num - key
																												if num < 0:
																																			__lowercase					:							Union[str, Any]			=   num + len(string.ascii_uppercase					)
																												__lowercase					:							Optional[Any]			=   translated + string.ascii_uppercase[num]
																					else:
																												__lowercase					:							Optional[int]			=   translated + symbol
														print(F"Decryption using Key #{key}: {translated}"					)
def 					snake_case_						(   ):
							__lowercase					:							Dict			=   input("""Encrypted message: """					)
							__lowercase					:							List[str]			=   message.upper()
							decrypt(lowerCAmelCase_					)


if __name__ == "__main__":
	import doctest

	doctest.testmod()
	main()







from __future__ import annotations
def 					snake_case_						(   lowerCAmelCase_				:  int				,				lowerCAmelCase_				:  int					):
							if partitions <= 0:
														raise ValueError("""partitions must be a positive number!"""					)
							if partitions > number_of_bytes:
														raise ValueError("""partitions can not > number_of_bytes!"""					)
							__lowercase					:							Dict			=   number_of_bytes // partitions
							__lowercase					:							Union[str, Any]			=   []
							for i in range(lowerCAmelCase_					):
														__lowercase					:							str			=   i * bytes_per_partition + 1
														__lowercase					:							List[Any]			=   (
														    number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
														)
														allocation_list.append(F"{start_bytes}-{end_bytes}"					)
							return allocation_list


if __name__ == "__main__":
	import doctest

	doctest.testmod()