

import numpy as np

a_         =      [
    ['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 _UpperCamelCase							:
			'''simple docstring'''







			def __init__(     self							:	str		)							->    None:

				"""simple docstring"""

				SCREAMING_SNAKE_CASE				: str			       =    np.array(a		)
			def 							__UpperCamelCase	(     self							:	int , a							:	str		)							->    np.ndarray:

				"""simple docstring"""

				SCREAMING_SNAKE_CASE       ,SCREAMING_SNAKE_CASE				: List[Any]			       =    np.where(letter == self.SQUARE		)
				SCREAMING_SNAKE_CASE				: Union[str, Any]			       =    np.concatenate([indexa + 1, indexa + 1]		)
				return indexes
			def 							__UpperCamelCase	(     self							:	List[str] , a							:	int , a							:	int		)							->    str:

				"""simple docstring"""

				return self.SQUARE[indexa - 1, indexa - 1]
			def 							__UpperCamelCase	(     self							:	Optional[int] , a							:	str		)							->    str:

				"""simple docstring"""

				SCREAMING_SNAKE_CASE				: List[Any]			       =    message.lower()
				SCREAMING_SNAKE_CASE				: Tuple			       =    message.replace("j" , "i"		)

				SCREAMING_SNAKE_CASE				: List[str]			       =    ""
				for letter_index in range(len(a		)		):
					if message[letter_index] != " ":
						SCREAMING_SNAKE_CASE				: List[str]			       =    self.letter_to_numbers(message[letter_index]		)
						SCREAMING_SNAKE_CASE				: Tuple			       =    encoded_message + str(numbers[0]		) + str(numbers[1]		)
					elif message[letter_index] == " ":
						SCREAMING_SNAKE_CASE				: Optional[Any]			       =    encoded_message + " "

				return encoded_message






			def 							__UpperCamelCase	(     self							:	List[Any] , a							:	str		)							->    str:

				"""simple docstring"""

				SCREAMING_SNAKE_CASE				: Any			       =    message.replace(" " , "  "		)
				SCREAMING_SNAKE_CASE				: Dict			       =    ""
				for numbers_index in range(int(len(a		) / 2		)		):
					if message[numbers_index * 2] != " ":
						SCREAMING_SNAKE_CASE				: Optional[Any]			       =    message[numbers_index * 2]
						SCREAMING_SNAKE_CASE				: Dict			       =    message[numbers_index * 2 + 1]

						SCREAMING_SNAKE_CASE				: List[Any]			       =    self.numbers_to_letter(int(a		) , int(a		)		)
						SCREAMING_SNAKE_CASE				: Optional[int]			       =    decoded_message + letter
					elif message[numbers_index * 2] == " ":
						SCREAMING_SNAKE_CASE				: int			       =    decoded_message + " "

				return decoded_message


from __future__ import annotations

from typing import Any






class _UpperCamelCase							:
			'''simple docstring'''







			def __init__(     self							:	Dict , a							:	Any , a							:	Any		)							->    None:  # noqa: A002

				"""simple docstring"""

				SCREAMING_SNAKE_CASE				: str			       =    item
				SCREAMING_SNAKE_CASE				: List[Any]			       =    next






class _UpperCamelCase							:
			'''simple docstring'''







			def __init__(     self							:	Optional[int]		)							->    None:

				"""simple docstring"""

				SCREAMING_SNAKE_CASE				: Node | None			       =    None
				SCREAMING_SNAKE_CASE				: List[Any]			       =    0
			def 							__UpperCamelCase	(     self							:	Union[str, Any] , a							:	Any		)							->    None:

				"""simple docstring"""

				SCREAMING_SNAKE_CASE				: Any			       =    Node(a , self.head		)
				self.size += 1
			def 							__UpperCamelCase	(     self							:	Dict		)							->    Any:

				"""simple docstring"""

				if self.head is None:
					return None
				else:
					SCREAMING_SNAKE_CASE				: Optional[int]			       =    self.head.item
					SCREAMING_SNAKE_CASE				: Dict			       =    self.head.next
					self.size -= 1
					return item
			def 							__UpperCamelCase	(     self							:	Any		)							->    bool:

				"""simple docstring"""

				return self.head is None
			def __str__(     self							:	Union[str, Any]		)							->    str:

				"""simple docstring"""

				if self.is_empty():
					return ""
				else:
					SCREAMING_SNAKE_CASE				: Union[str, Any]			       =    self.head
					SCREAMING_SNAKE_CASE				: str			       =    ""
					SCREAMING_SNAKE_CASE				: list[str]			       =    []
					while iterate:
						item_list.append(str(iterate.item		)		)
						SCREAMING_SNAKE_CASE				: str			       =    iterate.next

					SCREAMING_SNAKE_CASE				: List[str]			       =    " --> ".join(a		)

					return item_str






			def __len__(     self							:	List[Any]		)							->    int:

				"""simple docstring"""

				return self.size