#include <bits/stdc++.h>
using namespace std;
ifstream in("in.txt");
bool needToDelete(char c) {
  return tolower(c) == 'a' || tolower(c) == 'o' || tolower(c) == 'y' ||
         tolower(c) == 'e' || tolower(c) == 'u' || tolower(c) == 'i';
}
int main(int argc, char** argv) {
  string s;
  cin >> s;
  string ans;
  for (int i = 0; i < s.size(); i++) {
    if (!needToDelete(s[i])) {
      ans += ".";
      ans += tolower(s[i]);
    }
  }
  cout << ans;
  return 0;
}
