#include<stdio.h>
#include<ctype.h>
#include<stdlib.h>


main()
{
while(!feof(stdin))
	{
	char c[90];
	scanf ("%s", c);
	printf ("cd %s\n", c);
	printf ("pwd>>/PORTS/theDB\n", c);
	printf ("echo ','>>/PORTS/theDB\n", c);
	printf ("cat pkg-comment>>/PORTS/theDB\n", c);
	printf ("echo ','>>/PORTS/theDB\n", c);
	printf ("cat pkg-descr>>/PORTS/theDB\n", c);
	printf ("echo ','>>/PORTS/theDB\n", c);
	printf ("echo '----signed--Wed Feb 21 16:06:10 EST 2001--proclus----;'>>/PORTS/theDB\n", c);
	}
}
