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


int main(){
    string ch; cin >> ch;
    string vowels = "aeuoiy";
    int pos = -1;
    string newch;
    for(int i = 0; i<ch.size(); i++){

        pos = vowels.find(tolower(ch[i]));
        if(pos == -1){
            newch = newch + "." + (char)(tolower(ch[i]));
        }
    }
    cout << newch<<endl;
}
