#include <bits/stdc++.h>
using namespace std;
int main() {
  string a;
  cin >> a;
  char b;
  for (int i = 0; i < a.length(); i++) {
    if (a[i] != 'A' && a[i] != 'E' && a[i] != 'I' && a[i] != 'O' &&
        a[i] != 'U' && a[i] != 'a' && a[i] != 'e' && a[i] != 'i' &&
        a[i] != 'o' && a[i] != 'u' && a[i] != 'y' && a[i] != 'Y') {
      b = tolower(a[i]);
      cout << '.' << b;
    }
  }
}
