#T550. 加密的病历单

加密的病历单

Description

Xiao Ying is a junior majoring in pharmacy and has 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: to decrypt a list of伤员 (casualties) that had been encrypted during the Anti-Japanese War.

After research, Xiao Ying discovered the following encryption rules (with an example of "original text -> encrypted text" 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

The decrypted string.

GSOOWFASOq
Trvdizrrvj

译文

CodesOnline