#include
int main()
{
int ri,repeat,i,j,n,s;
scanf("%d",&repeat);
for(ri=0;ri
for(i=0;i
for(j=0;j
if(j==i&&j==n-i-1)
{printf("X");
break;}
if(j==i||j==n-i-1)
{printf("X");
s++;
if(s==2)
break;}
else
printf(" ");
}
printf("\n");
}
//if(ri!=repeat-1)去掉,题目说每个数据后面有一空行的
printf("\n");
}
return 0;
}