import string


def __a (	__lowerCamelCase			:						str				)	->							None:
      '''simple docstring'''


      for key in range(len(string.ascii_uppercase				)				):
            lowercase_     =      ""
            for symbol in message:
                  if symbol in string.ascii_uppercase:
                        lowercase_     =      string.ascii_uppercase.find(_A				)
                        lowercase_     =      num - key
                        if num < 0:
                              lowercase_     =      num + len(string.ascii_uppercase				)
                        lowercase_     =      translated + string.ascii_uppercase[num]
                  else:
                        lowercase_     =      translated + symbol
            print(f'Decryption using Key #{key}: {translated}'				)


def __a (	)	->							None:
      '''simple docstring'''


      lowercase_     =      input("Encrypted message: "				)
      lowercase_     =      message.upper()
      decrypt(_A				)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       main()







'''simple docstring'''

from __future__ import annotations


def __a (	__lowerCamelCase			:						int | str				)	->							bool:
      '''simple docstring'''


      lowercase_     =      str(__lowerCamelCase				)
      return n == n[::-1]


def __a (	__lowerCamelCase			:						int = 1_000_000				)	->							Optional[int]:
      '''simple docstring'''


      lowercase_     =      0

      for i in range(1 ,		__lowerCamelCase				):
            if is_palindrome(__lowerCamelCase				) and is_palindrome(bin(__lowerCamelCase				).split("b"				)[1]				):
                  total += i
      return total


if __name__ == "__main__":
       print(solution(int(str(input().strip()))))






