Anirudh and his World
Anirudh sees the world quite differently. For instance, if you ask him to print the alphabet a, he will instead print z, If you ask him to print, z he will print a. Similarly x for c, w for d and so on. Anirudh is given a string, he wants you to read in his way and print it.
The first line of input contains T, the number of test cases, the next T lines contain one string each.
Print a single containing the string read from Anirudh’s point of view.
- 1 ≤ T ≤ 10
Input: 1 axycd Output: zcbxw
Example case 1: Anirudh sees ‘a’ as ‘z’, ‘x’ as ‘c’ and so on.
|Time Limit:||1 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, PYTH, PYTH 3.6, PYPY, CS2, PAS fpc, PAS gpc, RUBY, PHP, GO, NODEJS, HASK, rust, SCALA, swift, D, PERL, FORT, WSPC, ADA, CAML, ICK, BF, ASM, CLPS, PRLG, ICON, SCM qobi, PIKE, ST, NICE, LUA, BASH, NEM, LISP sbcl, LISP clisp, SCM guile, JS, ERL, TCL, kotlin, PERL6, TEXT, SCM chicken, CLOJ, COB, FS|
Fetching successful submissions