// Working on CF 118A "String Task". NOTE: syntax error — missing `||`
// between the vowel comparisons in the if statement. Kept as-is; useful as
// a debugging exercise.
#include <iostream>
#include <string>
using namespace std;

int main() {

    string s;
    cin >> s;

    string answer = "";

    for (int i = 0; i < s.length(); i++) {
        char c = s[i];
        if (c>='A' & c<='Z') {
            c=c+32;
        }
        if (c == 'a'  c == 'o'  c == 'y' 
        c == 'e'  c == 'u' || c == 'i') {
            continue;
        }
        answer += '.';
        answer += c;
        }


    cout << answer << endl;

    return 0;
}
