#define IN 1;
#define OUT 0;
int num,state;
int c;
while((c=getchar()) != EOF){
if(c == ' ' || c == '\n' || c == '\t'){
state = OUT;
}else if(state == 0){
state = IN;
printf("\n");
}
putchar(c);
}
return 0;