All Tracks Problem

In The Quest of Logic
Tag(s):

Very-Easy

Problem
Editorial
Analytics

Programming is all about systematic thinking and logic. So, we also follow the same. You need to decode the logic from the sample input/output and solve the problem.

Input 1:
JgEC
Output 1:
ceGj

Input 2:
Sristi2K16
Output 2:
61k2ITSIRs

INPUT:
The first line of input will consist of a single integer T denoting number of test cases. Next T lines will consist of a single word S denoting the input string.

OUTPUT:
For each test case, print the required string in a new line.

CONSTRAINTS:

  • 1<=T<=100
  • 1<=len(S)<=50

SAMPLE INPUT
2
JgEC
Sristi2K16
SAMPLE OUTPUT
ceGj
61k2ITSIRs
Time Limit: 1.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB
Marking Scheme: Marks are awarded when all the testcases pass.
Allowed Languages: Bash, C, C++, C++14, Clojure, C#, D, Erlang, F#, Go, Groovy, Haskell, Java, Java 8, JavaScript(Rhino), JavaScript(Node.js), Julia, Kotlin, Lisp, Lisp (SBCL), Lua, Objective-C, OCaml, Octave, Pascal, Perl, PHP, Python, Python 3, R(RScript), Racket, Ruby, Rust, Scala, Swift, Swift-4.1, Visual Basic

CODE EDITOR

Initializing Code Editor...
Your Rating:

Contributor

This Problem was Asked in

Jalpaiguri Government Engineering College

Challenge Name

Code Chronicles Season 3

OTHER PROBLEMS OF THIS CHALLENGE
Notifications
View All Notifications

?