






def    lowerCAmelCase__		(			_a				:	str			):
		snake_case_ :							Any         =				[]
		snake_case_ :							Dict         =				1

		for i in range(len(_a			)			):
				if i + 1 < len(_a			) and text[i] == text[i + 1]:
						count += 1
				else:
						encoded.append((text[i], count)			)
						snake_case_ :							Optional[int]         =				1

		return encoded

def    lowerCAmelCase__		(			_a				:	list			):
		return "".join(char * length for char, length in encoded			)


if __name__ == "__main__":
							from doctest import testmod

							testmod(name='''run_length_encode''', verbose=True)
							testmod(name='''run_length_decode''', verbose=True)








def    lowerCAmelCase__		(			_a				:	str     ,					_a				:	int = 13			):
		snake_case_ :							List[Any]         =				""
		for c in s:
				if "A" <= c <= "Z":
						out += chr(ord("A"			) + (ord(_a			) - ord("A"			) + n) % 26			)
				elif "a" <= c <= "z":
						out += chr(ord("a"			) + (ord(_a			) - ord("a"			) + n) % 26			)
				else:
						out += c
		return out

def    lowerCAmelCase__		(			):
		snake_case_ :							int         =				input("Enter message: "			)

		snake_case_ :							List[Any]         =				dencrypt(_a     ,					13			)
		print("Encryption:"     ,					_a			)

		snake_case_ :							int         =				dencrypt(_a     ,					13			)
		print("Decryption: "     ,					_a			)


if __name__ == "__main__":
							import doctest

							doctest.testmod()
							main()
