for(i=0;i<MAX;i++)
if(!(chx[i] >='0'&& chx[i] <='9'))
chx[i]=' ';
printf("\n\n\n");
puts("数字と空白のみのはず");
for(i=0;i<MAX;i++)
putchar(chx[i]);
i=0;
while(chx[i] != '\0'){
no=0;
if(chx[i]==' ')
i++;
else{
while(chx[i]!=' '){
no++;
i++;
}
if(no==4){
for(i=i-4;chx[i]>='0'&&chx[i]<='9';i++)
chy[xxx++]=chx[i];
chy[xxx++]='\n';
}
}
}