#include<stdio.h>
#include<string.h>
int main()
{
char input[150], res[150];
int c,i;
scanf("%s",&input);
strcpy(res,strlwr(input));
c=strlen(res);
for(i=0;i<c;i++)
{
if(!((res[i]=='a')||(res[i]=='e')||(res[i]=='i')||(res[i]=='o')||(res[i]=='u')||(res[i]=='y')))
printf(".%c",res[i]);
}
}