
lowerCamelCase_    :			List[Any]    =	"""ABCDEFGHIJKLMNOPQRSTUVWXYZ"""







def 							A__       (    )	->						None:
				UpperCamelCase_:				Dict						=    input("""Enter message: """    )
				UpperCamelCase_:				Any						=    input("""Enter key [alphanumeric]: """    )
				UpperCamelCase_:				List[Any]						=    input("""Encrypt/Decrypt [e/d]: """    )

				if mode.lower().startswith("""e"""    ):
								UpperCamelCase_:				Union[str, Any]						=    """encrypt"""
								UpperCamelCase_:				List[Any]						=    encrypt_message(lowerCamelCase  ,     lowerCamelCase    )
				elif mode.lower().startswith("""d"""    ):
								UpperCamelCase_:				Union[str, Any]						=    """decrypt"""
								UpperCamelCase_:				Dict						=    decrypt_message(lowerCamelCase  ,     lowerCamelCase    )

				print(F'''\n{mode.title()}ed message:'''    )
				print(lowerCamelCase    )







def 							A__       (    lowerCamelCase  ,     lowerCamelCase    )	->						str:
				return translate_message(lowerCamelCase  ,     lowerCamelCase  ,     """encrypt"""    )







def 							A__       (    lowerCamelCase  ,     lowerCamelCase    )	->						str:
				return translate_message(lowerCamelCase  ,     lowerCamelCase  ,     """decrypt"""    )







def 							A__       (    lowerCamelCase  ,     lowerCamelCase  ,     lowerCamelCase    )	->						str:
				UpperCamelCase_:				Dict						=    []
				UpperCamelCase_:				int						=    0
				UpperCamelCase_:				Any						=    key.upper()

				for symbol in message:
								UpperCamelCase_:				Optional[Any]						=    LETTERS.find(symbol.upper()    )
								if num != -1:
												if mode == "encrypt":
																num += LETTERS.find(key[key_index]    )
												elif mode == "decrypt":
																num -= LETTERS.find(key[key_index]    )

												num %= len(lowerCamelCase    )

												if symbol.isupper():
																translated.append(LETTERS[num]    )
												elif symbol.islower():
																translated.append(LETTERS[num].lower()    )

												key_index += 1
												if key_index == len(lowerCamelCase    ):
																UpperCamelCase_:				List[Any]						=    0
								else:
												translated.append(lowerCamelCase    )
				return "".join(lowerCamelCase    )


if __name__ == "__main__":
							main()








def 							A__       (    lowerCamelCase = 4_00_00_00    )	->						int:
				UpperCamelCase_:				Dict						=    []
				UpperCamelCase_, UpperCamelCase_:				Optional[int]						=    0, 1
				while b <= n:
								if b % 2 == 0:
												even_fibs.append(lowerCamelCase    )
								UpperCamelCase_, UpperCamelCase_:				int						=    b, a + b
				return sum(lowerCamelCase    )


if __name__ == "__main__":
							print(F"""{solution() = }""")






