#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  string str, str1;
  cin >> str;
  for (int i = 0; i < str.length(); i++) {
    if (str[i] == 'a' || str[i] == 'A' || str[i] == 'e' || str[i] == 'E' ||
        str[i] == 'i' || str[i] == 'I' || str[i] == 'o' || str[i] == 'O' ||
        str[i] == 'u' || str[i] == 'U' || str[i] == 'y' || str[i] == 'Y') {
      continue;
    } else {
      str1.push_back('.');
      int bla = (int)str[i];
      char p;
      if (bla <= 90) {
        bla += 32;
        p = bla;
        str1.push_back(p);
      } else {
        str1.push_back(str[i]);
      }
    }
  }
  cout << str1 << endl;
  return 0;
}
