#include
int main()
{
char c;
while((c = getchar() )!= '\n ')
{
if(c == ' ')
printf("\n");
else
printf("%c",c);
}
return 0;
}
#include
int main()
{
char g;
while( (g = getchar()) != '\n')
{
if(g ==' ')
putchar('\n');
else
putchar(g);
}
putchar('\n');
return 0;
}