code: import numpy as np
  
  UpperCAmelCase					=				[
      ['''a''', '''b''', '''c''', '''d''', '''e'''],
      ['''f''', '''g''', '''h''', '''i''', '''k'''],
      ['''l''', '''m''', '''n''', '''o''', '''p'''],
      ['''q''', '''r''', '''s''', '''t''', '''u'''],
      ['''v''', '''w''', '''x''', '''y''', '''z'''],
  ]
  
  
  
  
  class    __lowerCAmelCase  :
  
  
  
   '''simple docstring'''
  
   def __init__(			self       :		int  ) ->							None:
          _UpperCamelCase     :       Dict  						=  np.array(lowerCamelCase  )
  
   def 					__snake_case					(			self       :		Optional[Any]       ,			lowerCamelCase       :		str  ) ->							np.ndarray:
          _UpperCamelCase     :       Optional[Any]  						=  np.where(letter == self.SQUARE  )
          _UpperCamelCase     :       str  						=  np.concatenate([indexa + 1, indexa + 1]  )
          return indexes
  
   def 					__snake_case					(			self       :		Tuple       ,			lowerCamelCase       :		int       ,			lowerCamelCase       :		int  ) ->							str:
          return self.SQUARE[indexa - 1, indexa - 1]
  
   def 					__snake_case					(			self       :		List[Any]       ,			lowerCamelCase       :		str  ) ->							str:
          _UpperCamelCase     :       List[str]  						=  message.lower()
          _UpperCamelCase     :       Optional[int]  						=  message.replace('j'       ,			'i'  )
  
          _UpperCamelCase     :       Dict  						=  ''
          for letter_index in range(len(lowerCamelCase  )  ):
                 if message[letter_index] != " ":
                        _UpperCamelCase     :       Any  						=  self.letter_to_numbers(message[letter_index]  )
                        _UpperCamelCase     :       str  						=  encoded_message + str(numbers[0]  ) + str(numbers[1]  )
                 elif message[letter_index] == " ":
                        _UpperCamelCase     :       Optional[Any]  						=  encoded_message + ' '
  
          return encoded_message
  
   def 					__snake_case					(			self       :		Optional[int]       ,			lowerCamelCase       :		str  ) ->							str:
          _UpperCamelCase     :       Optional[int]  						=  message.replace(' '       ,			'  '  )
          _UpperCamelCase     :       Optional[int]  						=  ''
          for numbers_index in range(int(len(lowerCamelCase  ) / 2  )  ):
                 if message[numbers_index * 2] != " ":
                        _UpperCamelCase     :       str  						=  message[numbers_index * 2]
                        _UpperCamelCase     :       List[str]  						=  message[numbers_index * 2 + 1]
  
                        _UpperCamelCase     :       List[str]  						=  self.numbers_to_letter(int(lowerCamelCase  )       ,			int(lowerCamelCase  )  )
                        _UpperCamelCase     :       Union[str, Any]  						=  decoded_message + letter
                 elif message[numbers_index * 2] == " ":
                        _UpperCamelCase     :       List[Any]  						=  decoded_message + ' '
  
          return decoded_message
  
  
  
  
style_context: UpperCAmelCase					=				[chr(i) for i in range(32, 1_26)]
  UpperCAmelCase					=				list(range(len(alphabets)))
  UpperCAmelCase					=				list(range(len(alphabets)))
  UpperCAmelCase					=				list(range(len(alphabets)))
  UpperCAmelCase					=				list(reversed(range(len(alphabets))))
  UpperCAmelCase					=				[]
  UpperCAmelCase					=				UpperCAmelCase					=				UpperCAmelCase					=				0
  
  
  def SCREAMING_SNAKE_CASE				(     ):
         global gear_one_pos
         global gear_two_pos
         global gear_three_pos
         _UpperCamelCase     :       Any  						=  gear_one[0]
         gear_one.append(lowercase_				)
         del gear_one[0]
         gear_one_pos += 1
         if gear_one_pos % int(len(lowercase_				)				) == 0:
                _UpperCamelCase     :       str  						=  gear_two[0]
                gear_two.append(lowercase_				)
                del gear_two[0]
                gear_two_pos += 1
                if gear_two_pos % int(len(lowercase_				)				) == 0:
                       _UpperCamelCase     :       int  						=  gear_three[0]
                       gear_three.append(lowercase_				)
                       del gear_three[0]
                       gear_three_pos += 1
  
  
  def SCREAMING_SNAKE_CASE				(     lowercase_:	List[Any]				):
         _UpperCamelCase     :       Dict  						=  alphabets.index(lowercase_				)
         _UpperCamelCase     :       Union[str, Any]  						=  gear_one[target]
         _UpperCamelCase     :       Any  						=  gear_two[target]
         _UpperCamelCase     :       Tuple  						=  gear_three[target]
         _UpperCamelCase     :       Tuple  						=  reflector[target]
         _UpperCamelCase     :       Any  						=  gear_three.index(lowercase_				)
         _UpperCamelCase     :       Any  						=  gear_two.index(lowercase_				)
         _UpperCamelCase     :       str  						=  gear_one.index(lowercase_				)
         code.append(alphabets[target]				)
         rotator()
  
  
  if __name__ == "__main__":
   UpperCAmelCase					=				list(input('''Type your message:\n'''))
   while True:
    try:
     UpperCAmelCase					=				int(input('''Please set token:(must be only digits)\n'''))
     break
    except Exception as error:
     print(error)
   for _ in range(token):
    rotator()
   for j in decode:
    engine(j)
   print('''\n''' + ''''''.join(code))
   print(
       f'''\nYour Token is {token} please write it down.\nIf you want to decode '''
       '''this message again you should input same digits as token!'''
   )
  
  
  
  