#include<stdio.h>

int
main(void)
{
	int c, i = 0;

	while((c = fgetc(stdin)) != EOF) {
		switch(c) {
		case '\t':
			c = ' ';
			while(++i % 8)
				printf(" ");
		case '\n':
			i = -1;
		}
		i++;
		printf("%c", c);
	}
	return 0;
}
