

lowerCAmelCase_			      =      '''ABCDEFGHIJKLMNOPQRSTUVWXYZ'''


def     __SCREAMING_SNAKE_CASE   ():
						snake_case_  =      input('''Enter message: '''			)
						snake_case_  =      input('''Enter key [alphanumeric]: '''			)
						snake_case_  =      input('''Encrypt/Decrypt [e/d]: '''			)

						if mode.lower().startswith('''e'''			):
												snake_case_  =      '''encrypt'''
												snake_case_  =      encrypt_message(SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__			)
						elif mode.lower().startswith('''d'''			):
												snake_case_  =      '''decrypt'''
												snake_case_  =      decrypt_message(SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__			)

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


def     __SCREAMING_SNAKE_CASE   (SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__			):
						return translate_message(SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__    ,						'''encrypt'''			)


def     __SCREAMING_SNAKE_CASE   (SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__			):
						return translate_message(SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__    ,						'''decrypt'''			)


def     __SCREAMING_SNAKE_CASE   (SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__    ,						SCREAMING_SNAKE_CASE__			):
						snake_case_  =      []
						snake_case_  =      0
						snake_case_  =      key.upper()

						for symbol in message:
												snake_case_  =      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(SCREAMING_SNAKE_CASE__			)

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

																		key_index += 1
																		if key_index == len(SCREAMING_SNAKE_CASE__			):
																								snake_case_  =      0
												else:
																		translated.append(SCREAMING_SNAKE_CASE__			)
						return "".join(SCREAMING_SNAKE_CASE__			)


if __name__ == "__main__":
					main()



"""simple docstring"""


from decimal import Decimal, getcontext
from math import ceil, factorial


def    _lowerCamelCase   (     lowerCamelCase__	:							int  ):

 if not isinstance(lowerCamelCase__       ,		lowerCamelCase__  ):
  raise TypeError("""Undefined for non-integers"""  )
 elif precision < 1:
  raise ValueError("""Undefined for non-natural numbers"""  )

 lowercase__       :       List[str]				=						precision
 lowercase__       :       Optional[int]				=						ceil(precision / 14  )
 lowercase__       :       Union[str, Any]				=						42_68_80 * Decimal(1_00_05  ).sqrt()
 lowercase__       :       Optional[Any]				=						1
 lowercase__       :       Optional[Any]				=						13_59_14_09
 lowercase__       :       List[Any]				=						Decimal(lowerCamelCase__  )
 for k in range(1       ,		lowerCamelCase__  ):
  lowercase__       :       Optional[int]				=						factorial(6 * k  ) // (factorial(3 * k  ) * factorial(lowerCamelCase__  ) ** 3)
  linear_term += 5_45_14_01_34
  exponential_term *= -26_25_37_41_26_40_76_80_00
  partial_sum += Decimal(multinomial_term * linear_term  ) / exponential_term
 return str(constant_term / partial_sum  )[:-1]


if __name__ == "__main__":
   __snake_case    					=					50
   print(F"The first {n} digits of pi is: {pi(n)}")