#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[100];
  cin >> s;
  int k = strlen(s), i;
  for (i = 0; i < k; i++) {
    if (s[i] == 'e' || s[i] == 'E' || s[i] == 'a' || s[i] == 'o' ||
        s[i] == 'y' || s[i] == 'u' || s[i] == 'i' || s[i] == 'A' ||
        s[i] == 'O' || s[i] == 'Y' || s[i] == 'U' || s[i] == 'I') {
    } else {
      cout << ".";
      if (s[i] >= 'A' && s[i] <= 'Z') {
        s[i] = s[i] + 32;
        cout << s[i];
      } else {
        cout << s[i];
      }
    }
  }
}
