






_UpperCAmelCase					:						List[Any]         =     {
    'A': ('ABCDEFGHIJKLM', 'NOPQRSTUVWXYZ'),
    'B': ('ABCDEFGHIJKLM', 'NOPQRSTUVWXYZ'),
    'C': ('ABCDEFGHIJKLM', 'ZNOPQRSTUVWXY'),
    'D': ('ABCDEFGHIJKLM', 'ZNOPQRSTUVWXY'),
    'E': ('ABCDEFGHIJKLM', 'YZNOPQRSTUVWX'),
    'F': ('ABCDEFGHIJKLM', 'YZNOPQRSTUVWX'),
    'G': ('ABCDEFGHIJKLM', 'XYZNOPQRSTUVW'),
    'H': ('ABCDEFGHIJKLM', 'XYZNOPQRSTUVW'),
    'I': ('ABCDEFGHIJKLM', 'WXYZNOPQRSTUV'),
    'J': ('ABCDEFGHIJKLM', 'WXYZNOPQRSTUV'),
    'K': ('ABCDEFGHIJKLM', 'VWXYZNOPQRSTU'),
    'L': ('ABCDEFGHIJKLM', 'VWXYZNOPQRSTU'),
    'M': ('ABCDEFGHIJKLM', 'UVWXYZNOPQRST'),
    'N': ('ABCDEFGHIJKLM', 'UVWXYZNOPQRST'),
    'O': ('ABCDEFGHIJKLM', 'TUVWXYZNOPQRS'),
    'P': ('ABCDEFGHIJKLM', 'TUVWXYZNOPQRS'),
    'Q': ('ABCDEFGHIJKLM', 'STUVWXYZNOPQR'),
    'R': ('ABCDEFGHIJKLM', 'STUVWXYZNOPQR'),
    'S': ('ABCDEFGHIJKLM', 'RSTUVWXYZNOPQ'),
    'T': ('ABCDEFGHIJKLM', 'RSTUVWXYZNOPQ'),
    'U': ('ABCDEFGHIJKLM', 'QRSTUVWXYZNOP'),
    'V': ('ABCDEFGHIJKLM', 'QRSTUVWXYZNOP'),
    'W': ('ABCDEFGHIJKLM', 'PQRSTUVWXYZNO'),
    'X': ('ABCDEFGHIJKLM', 'PQRSTUVWXYZNO'),
    'Y': ('ABCDEFGHIJKLM', 'OPQRSTUVWXYZN'),
    'Z': ('ABCDEFGHIJKLM', 'OPQRSTUVWXYZN'),
}






def  UpperCAmelCase__						(    lowerCamelCase	:			str    ):
   return [alphabet[char] for char in key.upper()]






def  UpperCAmelCase__						(    lowerCamelCase	:			str			,lowerCamelCase	:			str    ):
   lowerCamelCase									=""""""
   lowerCamelCase									=0
   lowerCamelCase									=generate_table(__UpperCamelCase    )
   for char in words.upper():
      cipher += get_opponent(table[count]			,__UpperCamelCase    )
      lowerCamelCase									=(count + 1) % len(__UpperCamelCase    )
   return cipher






def  UpperCAmelCase__						(    lowerCamelCase	:			str			,lowerCamelCase	:			str    ):
   return encrypt(__UpperCamelCase			,__UpperCamelCase    )






def  UpperCAmelCase__						(    lowerCamelCase	:			tuple[str, str]			,lowerCamelCase	:			str    ):
   lowerCamelCase									=0 if char in table[0] else 1
   lowerCamelCase									=table[row].index(__UpperCamelCase    )
   return row, col






def  UpperCAmelCase__						(    lowerCamelCase	:			tuple[str, str]			,lowerCamelCase	:			str    ):
   lowerCamelCase				,       lowerCamelCase									=get_position(__UpperCamelCase			,char.upper()    )
   if row == 1:
      return table[0][col]
   else:
      return table[1][col] if row == 0 else char


if __name__ == "__main__":
   import doctest

   doctest.testmod()  # Fist ensure that all our tests are passing...
   _UpperCAmelCase					:						Any         =     input('Enter key: ').strip()
   _UpperCAmelCase					:						Any         =     input('Enter text to encrypt: ').strip()
   _UpperCAmelCase					:						Union[str, Any]         =     encrypt(key, text)

   print(f"Encrypted: {cipher_text}")
   print(f"Decrypted with key: {decrypt(key, cipher_text)}")
"""simple docstring"""

from collections import defaultdict


def    lowerCAmelCase			(__UpperCamelCase							:    int = 5			):
							"""simple docstring"""


							__UpperCamelCase							=defaultdict(__UpperCamelCase			)
							__UpperCamelCase							=0

							while True:
														__UpperCamelCase							=get_digits(__UpperCamelCase			)
														freqs[digits].append(__UpperCamelCase			)

														if len(freqs[digits]			) == max_base:
																					__UpperCamelCase							=freqs[digits][0] ** 3
																					return base

														num += 1


def    lowerCAmelCase			(__UpperCamelCase							:    int			):
							"""simple docstring"""


							return "".join(sorted(str(num**3			)			)			)


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



