#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  transform(s.begin(), s.end(), s.begin(), ::tolower);
  for (int i = 0; i < s.length(); i++) {
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'U' || s[i] == 'y') {
      char delete_char = s[i];
      s.erase(remove(s.begin(), s.end(), delete_char), s.end());
    }
  }
  for (int i = 0; i < s.length(); i++) {
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'U' || s[i] == 'y') {
      char delete_char = s[i];
      s.erase(remove(s.begin(), s.end(), delete_char), s.end());
    }
  }
  string s1;
  s1 = ".";
  for (int i = 0; i < s.length(); i++) {
    s1 = s1 + s[i] + ".";
  }
  int j = s1.length() - 1;
  s1[j] = ' ';
  cout << s1 << endl;
}
