/*
 * Problem 1-12
 * Write a program that prints its input one word per line.
 * Copyright (c) 1998 by John Weber.  All rights reserved.
 */
#include <stdio.h>

int main(void)
{
	char c;

	while( (c = getchar()) != EOF ) {
		if( c == ' ' || c == '\n' || c == '\t' ) 
			putchar('\n');
		else 
			putchar(c);
	}
}
