#include
int main() {
FILE* in = fopen("input.txt", "r");
char s[100], b = 1, i = 0;
short c;
do {
c = getc(in);
if (c >= '0' && c <= '9') {
if ((b = !b) && /*
*/ (c = getc(in)) == ' ' || c == <span>'\t' || c == '\r' || c == '\n' || c == EOF) {
while (c != '\n' && c != EOF)
c = getc(in);
i = 0;
}
} else if (c == '\n') {
for (b = 0; b < i; b++)
putchar(s[b]);
putchar(c);
putchar('\n');
i = 0;
b = 1;
} else {
s[i++] = c;
b = 1;
}
} while (c != EOF);
fclose(in);