#include <stdio.h>
main()
{
char b[256],*c,*d=0;

gets(b);
for(c=b;*c!=0;c++)
	if( *c=='/' ) d=c;
if (d!=0) *d=0;
printf("%s",b);
}