#Z15309. 加密的病历单

加密的病历单

Description

Xiao Ying is a third-year pharmacy student who secured an internship opportunity at a hospital pharmacy during the summer vacation.

During her internship, Xiao Ying's solid professional foundation earned unanimous praise from the doctors. Upon learning that she had achieved excellent grades in Introduction to Computing, the director assigned her an additional task: decrypting a list of encrypted names of wounded soldiers from the Anti-Japanese War period.

After research, Xiao Ying discovered the following encryption rules (an example of "original text -> encrypted text" is provided in parentheses):

  1. All characters in the original text are cyclically shifted three positions to the left in the alphabet (e.g., "dec" -> "abz").
  2. The text is stored in reverse order (e.g., "abcd" -> "dcba").
  3. The case of each letter is inverted (e.g., "abXY" -> "ABxy").

Input Format

An encrypted string (length less than 50 and containing only uppercase and lowercase letters).

Output Format

Output the decrypted string.

GSOOWFASOq

Trvdizrrvj