#include <bits/stdc++.h>
using namespace std;
string frase;
bool verifica(int i) {
  char x = frase[i];
  if (x == 'a' || x == 'o' || x == 'e' || x == 'y' || x == 'u' || x == 'i')
    return true;
  else if (x == 'A') {
    return true;
  } else if (x == 'O') {
    return true;
  } else if (x == 'Y') {
    return true;
  } else if (x == 'E') {
    return true;
  } else if (x == 'U') {
    return true;
  } else if (x == 'I') {
    return true;
  } else
    return false;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin >> frase;
  int n = (int)frase.size();
  for (int i = 0; i < n; ++i) {
    bool vogal = verifica(i);
    if (!vogal) {
      putchar('.');
      putchar(tolower(frase[i]));
    }
  }
  putchar('\n');
  return 0;
}
