// Working solution to CF 118A "String Task".
#include <bits/stdc++.h>
using namespace std;


int main(){
string ch; cin >> ch;
string vowels = "AOIUYE";
int pos = -1;
string newch = ".";
for(int i = 0; i<ch.size(); i++){
    pos = vowels.find(toupper(ch[i]));
    if(pos == -1){
        newch = newch + ch[i] + ".";
    }
}
newch.pop_back();
cout << newch;
}
