#include <bits/stdc++.h>
using namespace std;
int main() {
  char a;
  while (cin >> a) {
    int x;
    x = a + 0;
    if (x == 65 || x == 69 || x == 73 || x == 79 || x == 85 || x == 89 ||
        x == 97 || x == 101 || x == 105 || x == 111 || x == 117 || x == 121)
      continue;
    else if (x >= 98 && x <= 122)
      cout << "." << a;
    else {
      a = a - 'A' + 'a';
      cout << "." << a;
    }
  }
}
