i;j;char s[];main(e){for(;~scanf("%s",s+j);puts(""))for(e=i,j=0;e?--i:s[i++];s[i-1]=32)j+=putchar(s[i-1]?:32)<33&&e;}