/* To read and display the sentence*/
#include<stdio.h>
main()
{
	int i;
	char a[50];
	for(i=0,scanf("%c",&a[i]);a[i]!='.';i++,scanf("%c",&a[i]));
	a[i]='\0';
	for(i=0;a[i]!='\0';i++)
		printf("%c",a[i]);
	getch();
}