P27186 [AtCoder] Caesar Cipher
提高-
题目描述

Problem Description

Gaius Julius Caesar, known in English as Julius Caesar, was a military and political leader of ancient Rome. There are records that Caesar shifted each letter in his secret letters by three positions, such as changing A to D, B to E, C to F, and so on.

Given a string consisting of 26 uppercase alphabetic characters that has been shifted by three characters as Caesar did, create a program to convert it back to the original string.

The correspondence between the original and transformed characters is as follows:
Original A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Transformed D E F G H I J K L M N O P Q R S T U V W X Y Z A B C

For example, converting the string JOI using this method yields MRL, and the original string for FURDWLD converted by this method is CROATIA.


Input Format

The input consists of a single line containing a string composed only of uppercase alphabetic characters.

The length of the input string is at most 1000.

Output Format

The output consists of a single line containing the string converted back to its original form.


Sample Input and Output

Sample Input #1

MRL

Sample Output #1

JOI

Sample Input #2

FURDWLD

Sample Output #2

CROATIA

Notes/Hints

Sample Explanation 1

- - - - - -

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
MRL
样例输出
JOI