#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  cin.ignore();
  string res;
  int i;
  string res2 = "";
  int n = s.length();
  for (i = 0; i < s.length(); i++) {
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'y' || s[i] == 'A' || s[i] == 'E' ||
        s[i] == 'O' || s[i] == 'I' || s[i] == 'U' || s[i] == 'Y')
      continue;
    else {
      res = res + s[i];
    }
  }
  int l = res.size();
  for (i = 0; i < l; i++) {
    if (res[i] >= 'A' && res[i] <= 'Z') {
      res[i] = res[i] + 32;
    }
  }
  for (i = 0; i < l; i++) {
    res2 = res2 + ".";
    res2 = res2 + res[i];
  }
  cout << res2;
}
