


def 							_UpperCAmelCase    (UpperCamelCase__					:  str    ,							UpperCamelCase__					:  int = 13						):
       _A				:	Tuple       =			""
       for c in s:
              if "A" <= c <= "Z":
                     out += chr(ord("A"						) + (ord(UpperCamelCase__						) - ord("A"						) + n) % 26						)
              elif "a" <= c <= "z":
                     out += chr(ord("a"						) + (ord(UpperCamelCase__						) - ord("a"						) + n) % 26						)
              else:
                     out += c
       return out
def 							_UpperCAmelCase    ():
       _A				:	Tuple       =			input("Enter message: "						)

       _A				:	Optional[Any]       =			dencrypt(UpperCamelCase__    ,							13						)
       print("Encryption:"    ,							UpperCamelCase__						)

       _A				:	Optional[Any]       =			dencrypt(UpperCamelCase__    ,							13						)
       print("Decryption: "    ,							UpperCamelCase__						)


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    main()




from __future__ import annotations

from typing import Any







class 					lowerCAmelCase__	:




     '''simple docstring'''


     def __init__(						self			,						__lowerCamelCase			,						__lowerCamelCase)      ->    None:  # noqa: A002
            _A				:	List[str]       =			item
            _A				:	List[Any]       =			next







class 					lowerCAmelCase__	:




     '''simple docstring'''


     def __init__(						self)      ->    None:
            _A				:	Node | None       =			None
            _A				:	List[Any]       =			0


     def 			_lowerCamelCase			(						self			,						__lowerCamelCase)      ->    None:
            _A				:	Union[str, Any]       =			Node(__lowerCamelCase			,						self.head)
            self.size += 1


     def 			_lowerCamelCase			(						self)      ->    Any:
            # Switched 'self.is_empty()' to 'self.head is None'
            # because mypy was considering the possibility that 'self.head'
            # can be None in below else part and giving error
            if self.head is None:
                   return None
            else:
                   _A				:	str       =			self.head.item
                   _A				:	List[Any]       =			self.head.next
                   self.size -= 1
                   return item


     def 			_lowerCamelCase			(						self)      ->    bool:
            return self.head is None


     def __str__(						self)      ->    str:
            if self.is_empty():
                   return ""
            else:
                   _A				:	List[str]       =			self.head
                   _A				:	Optional[int]       =			""
                   _A				:	list[str]       =			[]
                   while iterate:
                          item_list.append(str(iterate.item))
                          _A				:	Optional[Any]       =			iterate.next

                   _A				:	List[str]       =			" --> ".join(__lowerCamelCase)

                   return item_str


     def __len__(						self)      ->    int:
            return self.size
