#include <bits/stdc++.h>
using namespace std;
int main() {
  string str;
  cin >> str;
  string ans = "";
  string temp = "abcdefghijklmnopqrstuvwxyz";
  string vowels = "aeiouy";
  for (unsigned int i = 0; i < str.length(); i++) {
    if (str[i] < 'a') str[i] = temp[str[i] - 'A'];
    int f = 0;
    for (int j = 0; j < vowels.length(); j++) {
      if (vowels[j] == str[i]) f = -1;
    }
    if (f == 0) ans = ans + "." + str[i];
  }
  cout << ans << endl;
}
