STRHH - Half of the half

Given a sequence of 2*k characters, please print every second character from the first half of the sequence. Start printing with the first character.

Input

In the first line of input you are given the positive integer t (1<=t<=100) - the number of test cases. In the each of the next t lines, you are given a sequence of 2*k (1<=k<=100) characters.

Output

For each of the test cases please please print every second character from the first half of a given sequence (the first character should appear).

Example

Input:
4
your 
progress 
is 
noticeable

Output:
y
po
i
ntc

Added by:kuszi
Date:2012-09-01
Time limit:1s-1.289s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64

hide comments
2017-05-18 03:00:12
How do I get my file so small?
2017-04-05 15:08:34
I find the noticable output is wrong
2017-01-30 12:42:50
Working fine on gcc, but not on Ideone. Why?
2017-01-12 23:25:10
I don't get it. My output matches exactly what is asked, yet I keep getting told that I have the wrong answer
2016-12-25 15:53:52
Didn't get what runtime error I've got in my start code... But in the end I make it works. Thanks.
2016-12-11 20:47:51
My program is running neatly and giving perfect answer....but still I am getting an error - runtime error(SIGSEGV).
How to remove this error.
Can anyone please help.
2016-12-07 09:28:04
how solved please send me
2016-12-05 12:49:56
[code snipped by EB]
#WHTS WRONG IN THE PROGRAM..WHY IS THIS NOT ACCEPTED


Last edit: 2016-12-05 13:52:43
2016-11-21 20:29:46
I have this error when I copy code on SPOJ: Object reference not set to an instance of an object, but in my Visual Studio there is no error, works fine!
2016-11-20 03:55:22
TLE error
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.