




from string import ascii_uppercase

SCREAMING_SNAKE_CASE:     str									= {char: i for i, char in enumerate(ascii_uppercase)}
SCREAMING_SNAKE_CASE:     Tuple									= dict(enumerate(ascii_uppercase))


def 					_a							(					lowerCAmelCase    ,						lowerCAmelCase )->	str:
		SCREAMING_SNAKE_CASE_					      =							len(lowerCAmelCase )
		SCREAMING_SNAKE_CASE_					      =							0
		while True:
				if x == i:
						SCREAMING_SNAKE_CASE_					      =							0
				if len(lowerCAmelCase ) == len(lowerCAmelCase ):
						break
				key += key[i]
				i += 1
		return key


def 					_a							(					lowerCAmelCase    ,						lowerCAmelCase )->	str:
		SCREAMING_SNAKE_CASE_					      =							''
		SCREAMING_SNAKE_CASE_					      =							0
		for letter in message:
				if letter == " ":
						cipher_text += " "
				else:
						SCREAMING_SNAKE_CASE_					      =							(dicta[letter] - dicta[key_new[i]]) % 26
						i += 1
						cipher_text += dicta[x]
		return cipher_text


def 					_a							(					lowerCAmelCase    ,						lowerCAmelCase )->	str:
		SCREAMING_SNAKE_CASE_					      =							''
		SCREAMING_SNAKE_CASE_					      =							0
		for letter in cipher_text:
				if letter == " ":
						or_txt += " "
				else:
						SCREAMING_SNAKE_CASE_					      =							(dicta[letter] + dicta[key_new[i]] + 26) % 26
						i += 1
						or_txt += dicta[x]
		return or_txt


def 					_a							(					)->	None:
		SCREAMING_SNAKE_CASE_					      =							'THE GERMAN ATTACK'
		SCREAMING_SNAKE_CASE_					      =							'SECRET'
		SCREAMING_SNAKE_CASE_					      =							generate_key(lowerCAmelCase    ,						lowerCAmelCase )
		SCREAMING_SNAKE_CASE_					      =							cipher_text(lowerCAmelCase    ,						lowerCAmelCase )
		print(F'''Encrypted Text = {s}''' )
		print(F'''Original Text = {original_text(lowerCAmelCase    ,						lowerCAmelCase )}''' )


if __name__ == "__main__":
						import doctest

						doctest.testmod()
						main()





SCREAMING_SNAKE_CASE:     Optional[int]									= {str(digit): digit**5 for digit in range(1_0)}


def 					_a							(					lowerCAmelCase )->	int:
		return sum(DIGITS_FIFTH_POWER[digit] for digit in str(lowerCAmelCase ) )


def 					_a							(					)->	int:
		return sum(
		    number
		    for number in range(1000    ,						1000000 )
		    if number == digits_fifth_powers_sum(lowerCAmelCase ) )


if __name__ == "__main__":
						print(solution())