#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
#include <cstdio>
/* in the given string, consisting if uppercase and lowercase Latin letters, it:
deletes all the vowels,
inserts a character "." before each consonant,
replaces all uppercase consonants with corresponding lowercase ones.
Vowels are letters "A", "O", "Y", "E", "U", "I", and the rest are consonants.
*/
int main()
{
char c;
c = cin.get();
while (c!='\n') {
if (c >= 'A' && c <= 'Z') c = c - 'A' + 'a';
if (c == 'a' || c == 'o' || c == 'y' || c == 'e' || c == 'u' || c == 'i') { c = cin.get(); continue; }
else cout << "." << c;
c = cin.get();
}
return 0;
}