Problem F
Secret Message
Jack and Jill developed a special encryption method, so they
can enjoy conversations without worrrying about eavesdroppers.
Here is how: let
For example, given the original message ‘iloveyouJack’, the
message length is
i |
l |
o |
v |
e |
y |
o |
u |
J |
a |
c |
k |
* |
* |
* |
* |
* |
J |
e |
i |
* |
a |
y |
l |
* |
c |
o |
o |
* |
k |
u |
v |
Then we read the secret message as ‘Jeiaylcookuv’.
Input
The first line of input is the number of original messages,
Output
For each original message, output the secret message.
Sample Input 1 | Sample Output 1 |
---|---|
2 iloveyoutooJill TheContestisOver |
iteiloylloooJuv OsoTvtnheiterseC |