#include <bits/stdc++.h>
using namespace std;
int main() {
  char ch, arr[300];
  int j = 0;
  string st;
  cin >> st;
  for (int i = 0; i < st.size(); i++) {
    if (st[i] != 'A' && st[i] != 'a' && st[i] != 'O' && st[i] != 'o' &&
        st[i] != 'Y' && st[i] != 'y' && st[i] != 'U' && st[i] != 'u' &&
        st[i] != 'I' && st[i] != 'i' && st[i] != 'E' && st[i] != 'e') {
      ch = st[i];
      if (ch >= 65 && ch < 97) {
        ch += 32;
      }
      arr[j] = '.';
      j++;
      arr[j] = ch;
      j++;
    }
  }
  for (int i = 0; i < j; i++) {
    cout << arr[i];
  }
  return 0;
}
