#include <bits/stdc++.h>
using namespace std;
long long md = 1000000007;
long long exp(long long a, long long b) {
  long long r = 1ll;
  while (b > 0) {
    if (b & 1) {
      r = r * (a % md);
      r = (r + md) % md;
    }
    b /= 2;
    a = (a % md) * (a % md);
    a = (a + md) % md;
  }
  return (r + md) % md;
}
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  string s;
  cin >> s;
  int l = s.length();
  for (int i = 0; i < l; i++) {
    if (s[i] == 'A' || s[i] == 'a' || s[i] == 'I' || s[i] == 'i' ||
        s[i] == 'O' || s[i] == 'o' || s[i] == 'U' || s[i] == 'u' ||
        s[i] == 'E' || s[i] == 'e' || s[i] == 'Y' || s[i] == 'y') {
      continue;
    } else if (s[i] >= 65 && s[i] <= 90) {
      s[i] = s[i] + 32;
    }
    cout << "." << s[i];
  }
  return 0;
}
