OpenJudge

1:Caesar Cryptogram

总时间限制:
1000ms
内存限制:
65536kB
描述
Julius Caesar inventes a cryptogram that converts a string to another
string. The rule is that every letter in an original string should be replaced
by the letter which takes the fifth place after it in the alphabet. The
conversion table is as follows:

Original  string: 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
Encrypted string: V W X Y Z A B C D E F G H
I J K L M N O P Q R S T U

All letters in original strings are capital. The characters other than
letters remain the same. 


输入
There are no more than 100 datasets. Each dataset consists of three lines.

Starting line: START

Encrypted string: containing 1 to 200 characters

Ending line: END
输出
For every dataset, output one line, the original string.
样例输入
START
NS BFW, JAJSYX TK NRUTWYFSHJ FWJ YMJ WJXZQY TK YWNANFQ HFZXJX
END
START
N BTZQI WFYMJW GJ KNWXY NS F QNYYQJ NGJWNFS ANQQFLJ YMFS XJHTSI NS WTRJ
END
START
IFSLJW PSTBX KZQQ BJQQ YMFY HFJXFW NX RTWJ IFSLJWTZX YMFS MJ
END
ENDOFINPUT
样例输出
IN WAR, EVENTS OF IMPORTANCE ARE THE RESULT OF TRIVIAL CAUSES
I WOULD RATHER BE FIRST IN A LITTLE IBERIAN VILLAGE THAN SECOND IN ROME
DANGER KNOWS FULL WELL THAT CAESAR IS MORE DANGEROUS THAN HE
全局题号
1976
提交次数
30
尝试人数
11
通过人数
11

Other language verions