#include <bits/stdc++.h>
using namespace std;
int main() {
  string str;
  int chk, i = 0, j;
  cin >> str;
  for (int i = 0; i <= str.length(); i++) {
    if (str[i] >= 65 && str[i] <= 90) {
      str[i] = str[i] + 32;
    }
  }
  while (str[i] != '\0') {
    chk = 0;
    if (str[i] == 'a' || str[i] == 'e' || str[i] == 'i' || str[i] == 'o' ||
        str[i] == 'u' || str[i] == 'A' || str[i] == 'E' || str[i] == 'I' ||
        str[i] == 'O' || str[i] == 'U' || str[i] == 'y' || str[i] == 'Y') {
      j = i;
      while (str[j] != '\0') {
        str[j] = str[j + 1];
        j++;
      }
      chk = 1;
    }
    if (chk == 0) i++;
  }
  int k = 0;
  while (str[k] != '\0') {
    cout << '.' << str[k];
    k++;
  }
  return 0;
}
