#include
#include
//#include<stdio.h>
using namespace std;
int main()
{
int t;
cin>>t;
if(t>=1&&t<=100)
{
while(t>0)
{
char s[201];
cin>>s;
char i=strlen(s);
//s=s[s.size()/2];
for(int j=0;j<i/2;j=j+2)
{
cout<<s[j];
if(j>=i/2-2)
cout<<"\n";
}
//cout<<"\n";
t--;
}
}
return 0;
}
this is my code the hidden test case is not passing